bbp_convert_date

  • apply_filters( 'bbp_convert_date', $time, $d, $translate )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-common-functions.php :: Trac Source Line: 151
       *                                   result
       * @uses mysql2date() To convert the format
       * @uses apply_filters() Calls 'bbp_convert_date' with the time, date format
       *                        and translate bool
       * @return string Returns timestamp
       */
      function bbp_convert_date( $time, $d = 'U', $translate = false ) {
      	$time = mysql2date( $d, $time, $translate );
      
      	return apply_filters( 'bbp_convert_date', $time, $d, $translate );
      }
      
      /**
       * Output formatted time to display human readable time difference.
       *
       * @since bbPress (r2544)
       *
       * @param $time Unix timestamp from which the difference begins.
       * @uses bbp_get_time_since() To get the formatted time
       */
      

Comments are closed.