// REMOVE WIDGET TITLE IF IT BEGINS WITH EXCLAMATION POINT add_filter( 'widget_title', 'remove_widget_title' ); function remove_widget_title( $widget_title ) { if ( substr ( $widget_title, 0, 1 ) == '!' ) return; else return ( $widget_title ); }
// REMOVE WIDGET TITLE IF IT BEGINS WITH EXCLAMATION POINT add_filter( 'widget_title', 'remove_widget_title' ); function remove_widget_title( $widget_title ) { if ( substr ( $widget_title, 0, 1 ) == '!' ) return; else return ( $widget_title ); }