oont-contents/plugins/google-listings-and-ads/src/Jobs/StartOnHookInterface.php
2025-02-08 15:10:23 +01:00

23 lines
542 B
PHP

<?php
declare( strict_types=1 );
namespace Automattic\WooCommerce\GoogleListingsAndAds\Jobs;
defined( 'ABSPATH' ) || exit;
/**
* Interface StartOnHookInterface
*
* Action Scheduler jobs that implement this interface will start on a specific action hook.
*
* @package Automattic\WooCommerce\GoogleListingsAndAds\Jobs
*/
interface StartOnHookInterface extends ActionSchedulerJobInterface {
/**
* Get an action hook to attach the job's start method to.
*
* @return StartHook
*/
public function get_start_hook(): StartHook;
}