generate_show_title

generate_show_title

The generate_show_title filter allows you to choose whether to display your page titles or not.
To remove titles globally, use this snippet:
add_action( 'after_setup_theme', 'tu_remove_all_titles' );
function tu_remove_all_titles() {
add_filter( 'generate_show_title', '__return_false' );
}
Default (boolean): true
Usage
Please refer to the Using Filters article to learn how to use this filter.

发表回复

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