Logo Logo Logo Logo Logo
  • Work Overview
  • Code Snippets Central
  • About
  • Contact
  • Work Overview
  • Code Snippets Central
  • About
  • Contact
Back to all articles →

Topic: Actions and Filters / Wordpress

15 Jul Remove Private or Protected in title – WordPress

Posted at 17:28h in Actions and Filters, Wordpress by Atkinson
add_filter( 'protected_title_format', 'remove_protected_text' );
function remove_protected_text() {
return __('%s - This is a Private Page');
}


Facebook • Instagram • Dribbble • Twitter • LinkedIn
Copyright © Janet Atkinson 2023. All Rights Reserved.
Images and/or Artwork may not redistributed, reproduced, or republished without prior written permission.


For fine art painting and other personal work by Janet Atkinson please visit janetatkinsonstudio.com