action_scheduler_canceled_action, $action_id
action_scheduler_canceled_action, $action_id
Appears in: all-in-one-seo-pack.5.0.0.1
Hook Type: action
Displaying hooks found in version: all-in-one-seo-pack.5.0.0.1do_action('action_scheduler_canceled_action, $action_id') is found 2 times:
- /vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php line 701
if ( false === $updated ) { /* translators: %s: action ID */ throw new \InvalidArgumentException( sprintf( __( 'Unidentified action %s: we were unable to cancel this action. It may may have been deleted by another process.', 'action-scheduler' ), $action_id ) ); } do_action( 'action_scheduler_canceled_action', $action_id ); } /** * Cancel pending actions by hook. * * @since 3.0.0 - /vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php line 517
if ( empty( $post ) || ( self::POST_TYPE !== $post->post_type ) ) { /* translators: %s is the action ID */ throw new InvalidArgumentException( sprintf( __( 'Unidentified action %s: we were unable to cancel this action. It may may have been deleted by another process.', 'action-scheduler' ), $action_id ) ); } do_action( 'action_scheduler_canceled_action', $action_id ); add_filter( 'pre_wp_unique_post_slug', array( $this, 'set_unique_post_slug' ), 10, 5 ); wp_trash_post( $action_id ); remove_filter( 'pre_wp_unique_post_slug', array( $this, 'set_unique_post_slug' ), 10 ); } /**