ActionScheduler_Abstract_QueueRunner_Deprecated::get_maximum_execution_time() – Get the maximum number of seconds a batch can run for.
ActionScheduler_Abstract_QueueRunner::__construct() – ActionScheduler_Abstract_QueueRunner constructor.
ActionScheduler_Abstract_QueueRunner::batch_limits_exceeded() – See if the batch limits have been exceeded, which is when memory usage is almost at the maximum limit, or the time to process more actions will exceed the max time limit.
ActionScheduler_Abstract_QueueRunner::get_allowed_concurrent_batches() – Get the number of concurrent batches a runner allows.
ActionScheduler_Abstract_QueueRunner::get_execution_time() – Get the number of seconds the process has been running.
ActionScheduler_Abstract_QueueRunner::get_time_limit() – Get the maximum number of seconds a batch can run for.
ActionScheduler_Abstract_QueueRunner::has_maximum_concurrent_batches() – Check if the number of allowed concurrent batches is met or exceeded.
ActionScheduler_Abstract_QueueRunner::schedule_next_instance() – Schedule the next instance of the action if necessary.
ActionScheduler_Abstract_QueueRunner::time_likely_to_be_exceeded() – Check if the host’s max execution time is (likely) to be exceeded if processing more actions.
ActionScheduler_AsyncRequest_QueueRunner::get_sleep_seconds() – Chaining async requests can crash MySQL. A brief sleep call in PHP prevents that.
ActionScheduler_AsyncRequest_QueueRunner::maybe_dispatch() – If the async request runner is needed and allowed to run, dispatch a request.
ActionScheduler_DBStore::get_query_actions_sql() – Returns the SQL statement to query (or count) actions.
ActionScheduler_HybridStore::query_actions() – Find actions matching the query in the secondary source first.
ActionScheduler_QueueCleaner::mark_failures() – Mark actions that have been running for more than a given time limit as failed, based on the assumption some uncatachable and unloggable fatal error occurred during processing.
ActionScheduler_QueueCleaner::reset_timeouts() – Unclaim pending actions that have not been run within a given time limit.
ActionScheduler_QueueRunner::clear_caches() – Running large batches can eat up memory, as WP adds data to its object cache.
ActionScheduler_QueueRunner::hook_dispatch_async_request() – Hook check for dispatching an async request.
ActionScheduler_QueueRunner::maybe_dispatch_async_request() – Check if we should dispatch an async request to process actions.
ActionScheduler_QueueRunner::run() – Process actions in the queue. Attached to self::WP_CRON_HOOK i.e. ‘action_scheduler_run_queue’
ActionScheduler_QueueRunner::unhook_dispatch_async_request() – Unhook check for dispatching an async request.
ActionScheduler_WPCLI_QueueRunner::action_failed() – Handle WP CLI message when the action has failed.
ActionScheduler_WPCLI_QueueRunner::after_execute() – Handle WP CLI message when the action has completed.
ActionScheduler_WPCLI_QueueRunner::before_execute() – Handle WP CLI message when the action is starting.
ActionScheduler_WPCLI_QueueRunner::maybe_stop_the_insanity() – Maybe trigger the stop_the_insanity() method to free up memory.
ActionScheduler_wpPostStore::get_query_actions_sql() – Returns the SQL statement to query (or count) actions.
CartController::set_cart_item_quantity() – Based on core `set_quantity` method, but validates if an item is sold individually first.
Controller::add_wp_query_join() – Join posts meta tables when product search or low stock query is present.
DataStore::add_sql_query_params() – Updates the database query with parameters used for Customers report: categories and order status.
DataStore::update_sql_query_params() – Updates the database query with parameters used for Products Stats report: categories and order status.
HandpickedProducts::set_visibility_query_args() – Set visibility query args. Handpicked products will show hidden products if chosen.