woocommerce_product_feed_time

woocommerce_product_feed_time

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.10.5.2

apply_filters('woocommerce_product_feed_time') is found 1 times:

  • /src/Internal/ProductFeed/Storage/JsonFileFeed.php line 109
    		 * @param FeedInterface $feed The feed instance.
    		 * @return int The current time.
    		 * @since 10.5.0
    		 */
    		$current_time    = apply_filters( 'woocommerce_product_feed_time', time(), $this );
    		$hash_data       = $this->base_name . gmdate( 'r', $current_time );
    		$this->file_name = sprintf(
    			'%s-%s-%s.json',
    			$this->base_name,
    			gmdate( 'Y-m-d', $current_time ),
    			wp_hash( $hash_data )