• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WooCommerce a2z

WooCommerce a2z

WooCommerce

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / APIs / ActionScheduler_wpPostStore::query_actions() –

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 );
  }
 

 View on GitHub View on Trac

Published: 8th February 2020 | Last updated: 6th April 2020

Primary Sidebar

Information

Function name: ActionScheduler_wpPostStore::query_actions
Class ref: ActionScheduler_wpPostStore
Plugin ref: WooCommerce
Version: 5.1.0
Sourcefile: packages/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php
File ref: packages/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php
Deprecated?: No
API Letters: A,Q,W

Footer

WooCommerce a2z
WooCommerce a2z
WooCommerce
WordPress 5.7
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  woocommerce.wp-a2z.org
© Copyright WooCommerce a2z 2014-2021. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites