Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 73026

Page title filter not working

$
0
0

Replies: 0

Tried to use the filter to change the page title:


function ocdi_plugin_page_setup( $default_settings ) {
	$default_settings['page_title']  = esc_html__( 'Theme Demos' , 'text-domain' );
	return $default_settings;
}
add_filter( 'pt-ocdi/plugin_page_setup', 'ocdi_plugin_page_setup' );

Doesn’t work, because the apply_filters is actually not there in the plugin 🙁

I would like to remove the dashicons from the title too. None of WordPress pages have a dashicon in the page title.

Would highly appreciate your help. Thanks!

  • This topic was modified 5 minutes ago by ninetienne.

Viewing all articles
Browse latest Browse all 73026