Note: This filter is included in GP Premium.
The generate_sections_post_types filter allows you to use the Sections add-on in a custom post type.
Example:
add_filter( 'generate_sections_post_types','generate_add_section_post_types' );
function generate_add_section_post_types() {
return array( 'page','post','yourposttype' );
}
Usage
Please refer to the Using Filters article to learn how to use this filter.
generate_sections_post_types
generate_sections_post_types