bp_core_render_message

  • do_action( 'bp_core_render_message' )

    Source Reference:

    • Component: BuddyPress:: bp-core
      File: /bp-core/bp-core-functions.php :: Trac Source Line: 562
      	if ( isset( $bp->template_message ) && $bp->template_message ) :
      		$type = ( 'success' == $bp->template_message_type ) ? 'updated' : 'error'; ?>
      
      		<div id="message" class="<?php echo $type; ?>">
      			<p><?php echo stripslashes( esc_attr( $bp->template_message ) ); ?></p>
      		</div>
      
      	<?php
      
      		do_action( 'bp_core_render_message' );
      
      	endif;
      }
      
      /**
       * Format numbers the BuddyPress way
       *
       * @param str $number
       * @param bool $decimals
       * @return str
      

Comments are closed.