bbp_core_time_since_unknown_text

bbp_core_time_since_unknown_text

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_core_time_since_unknown_text') is found 1 times:

  • /includes/common/formatting.php line 646
    	 */
    	function bbp_get_time_since( $older_date, $newer_date = false, $gmt = false ) {
    
    		// Setup the strings
    		$unknown_text   = apply_filters( 'bbp_core_time_since_unknown_text',   esc_html__( 'sometime',  'bbpress' ) );
    		$right_now_text = apply_filters( 'bbp_core_time_since_right_now_text', esc_html__( 'right now', 'bbpress' ) );
    		$ago_text       = apply_filters( 'bbp_core_time_since_ago_text',       esc_html__( '%s ago',    'bbpress' ) );
    
    		// array of time period chunks
    		$chunks = array(
    			array( YEAR_IN_SECONDS,   _n_noop( '%s year',   '%s years',   'bbpress' ) ),