bp_core_current_time

  • apply_filters( 'bp_core_current_time', $current_time )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-functions.php :: Trac Source Line: 482
       * Get the current GMT time to save into the DB
       *
       * @package BuddyPress Core
       * @since 1.2.6
       */
      function bp_core_current_time( $gmt = true ) {
      	// Get current time in MYSQL format
      	$current_time = current_time( 'mysql', $gmt );
      
      	return apply_filters( 'bp_core_current_time', $current_time );
      }
      
      /**
       * Adds a feedback (error/success) message to the WP cookie so it can be
       * displayed after the page reloads.
       *
       * @package BuddyPress Core
       *
       * @global obj $bp
       * @param str $message Feedback to give to user
      

Comments are closed.