Select with Posts

Select with posts

Select with default wordpress posts learn more query_args

array(
  'id'             => 'unique_option_508',
  'type'           => 'select',
  'title'          => 'Select Field for Posts',
  'options'        => 'posts',
  'query_args'     => array(
    'orderby'      => 'post_date',
    'order'        => 'DESC',
  ),
  'default_option' => 'Select a post'
),

Last updated