woocommerce_product_feed_scheduled_timeout
woocommerce_product_feed_scheduled_timeout
Appears in: woocommerce.10.5.2
Hook Type: filter
Displaying hooks found in version: woocommerce.10.5.2apply_filters('woocommerce_product_feed_scheduled_timeout') is found 1 times:
- /src/Internal/ProductFeed/Integrations/POSCatalog/AsyncGenerator.php line 371
* @param int $stuck_time The stuck time in seconds. * @return int The stuck time in seconds. * @since 10.5.0 */ $scheduled_timeout = apply_filters( 'woocommerce_product_feed_scheduled_timeout', 10 * MINUTE_IN_SECONDS ); if ( self::STATE_SCHEDULED === $status['state'] && ( ! isset( $status['scheduled_at'] ) || time() - $status['scheduled_at'] > $scheduled_timeout )