You appear to be a bot. Output may be restricted
Description
Usage
$string|array = ActionScheduler_wpPostStore::query_actions( $query, $query_type );
Parameters
- $query
- ( array ) optional –
- $query_type
- ( string ) optional default: select – Whether to select or count the results. Default, select.
Returns
string|array The IDs of actions matching the query
Source
File name: woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php
Lines:
1 to 10 of 10
public function query_actions( $query = array(), $query_type = 'select' ) { /** @var wpdb $wpdb */ global $wpdb; $sql = $this->get_query_actions_sql( $query, $query_type ); return ( 'count' === $query_type ) ? $wpdb->get_var( $sql ) : $wpdb->get_col( $sql ); }