How remove or change <title> tag in wordpress using plugin , add_filter ?
Try using the wp_title hook
add_filter( 'wp_title', 'custom_title', 20 );function custom_title( $title ) { return str_replace('My old title', 'New title', $title); }
Try using the wp_title hook
add_filter( 'wp_title', 'custom_title', 20 );function custom_title( $title ) { return str_replace('My old title', 'New title', $title); }