action_scheduler/created_table
Usage
add_action( 'action_scheduler/created_table', 'wp_kama_action_scheduler_created_table_action', 10, 2 ); /** * Function for `action_scheduler/created_table` action-hook. * * @param $updated_table * @param $table * * @return void */ function wp_kama_action_scheduler_created_table_action( $updated_table, $table ){ // action... }
- $updated_table
- -
- $table
- -
Where the hook is called
action_scheduler/created_table
woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_Schema.php 146
do_action( 'action_scheduler/created_table', $updated_table, $table ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
Where the hook is used in WooCommerce
woocommerce/packages/action-scheduler/classes/ActionScheduler_ListTable.php 554
add_action( 'action_scheduler/created_table', array( $store, 'set_autoincrement' ), 10, 2 );
woocommerce/packages/action-scheduler/classes/ActionScheduler_ListTable.php 561
remove_action( 'action_scheduler/created_table', array( $store, 'set_autoincrement' ), 10 );
woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php 75
add_action( 'action_scheduler/created_table', array( $this, 'set_autoincrement' ), 10, 2 );
woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php 78
remove_action( 'action_scheduler/created_table', array( $this, 'set_autoincrement' ), 10 );