daily pastebin goal
44%
SHARE
TWEET

Untitled

BakerMan Mar 6th, 2014 118 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. add_filter( 'gettext', 'change_no_event_text' );
  2.  
  3. function change_no_event_text( $text ) {
  4.         if ( false === strpos( $text, 'There are no upcoming events at this time.' ) ) return $text;
  5.         return 'Custom message or HTML';
  6. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top