Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

acf add options page to custom post type

if( function_exists('acf_add_options_page') ) {
    
    acf_add_options_sub_page(array(
        'page_title'     => 'Offers Page Content',
        'menu_title'    => 'offers-page-content',
        'parent_slug'    => 'edit.php?post_type=offers',
    ));

}
Source by support.advancedcustomfields.com #
 
PREVIOUS NEXT
Tagged: #acf #add #options #page #custom #post #type
ADD COMMENT
Topic
Name
7+1 =