Advertisement
arie_cristianD

delete all prefix in archive page

Nov 15th, 2023
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.18 KB | None | 0 0
  1. /* delete all prefix in archive page */
  2.  
  3. add_filter( 'get_the_archive_title_prefix', 'delete_prefix' );
  4.  
  5. function delete_prefix( $prefix ) {
  6.     $prefix = '';
  7.     return $prefix;
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement