Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- array(
- 'name' => esc_html__( 'Tours', 'project' ),
- 'id' => 'prefix_fp_tours',
- 'type' => 'post',
- // Post type
- 'post_type' => PREFIX_TOURS_POST_TYPE,
- // Field type, either 'select' or 'select_advanced' (default)
- 'field_type' => 'checkbox_list',
- 'multiple' => true,
- 'placeholder' => esc_html__( 'Select a tour', 'project' ),
- // Query arguments (optional). No settings means get all published posts
- 'query_args' => array(
- 'post_status' => 'publish',
- 'posts_per_page' => - 1,
- //'orderby' => 'menu_order'
- ),
- ),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement