SHARE
TWEET

Untitled

a guest Mar 23rd, 2018 9 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. array(
  2.     'name'        => esc_html__( 'Tours', 'project' ),
  3.     'id'          => 'prefix_fp_tours',
  4.     'type'        => 'post',
  5.     // Post type
  6.     'post_type'   => PREFIX_TOURS_POST_TYPE,
  7.     // Field type, either 'select' or 'select_advanced' (default)
  8.     'field_type'  => 'checkbox_list',
  9.     'multiple' => true,
  10.     'placeholder' => esc_html__( 'Select a tour', 'project' ),
  11.     // Query arguments (optional). No settings means get all published posts
  12.     'query_args'  => array(
  13.         'post_status'    => 'publish',
  14.         'posts_per_page' => - 1,
  15.         //'orderby' => 'menu_order'
  16.     ),
  17. ),
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top