generate_sections_post_types

generate_sections_post_types

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.

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注