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 / Functions PHP File / Wordpress

09 Feb Add content with echo in functions

Posted at 19:36h in Actions and Filters, Functions PHP File, Wordpress by Atkinson
// -----Add custom message
add_action( 'theme or plugin hook', 'atk_custom_message' );
 
function atk_custom_message() {
  echo '<p class="no-back-button"><em>Your custom message.</em></p>';
}


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