apply_filters('wpt_query_args', $args, Shortcode $shortcode );

To change the Product Table Query Arguments

Parameters #

$args (array)
Query arguments of Product Table.
$shortcode (object)
Product table Object (Whole shortcode object, Where available All data)

Return #

Return generated query arguments. Default: array() .

File Location #

inc/shortcode.php

Example#

Source Code #

View on Github.com

$Shortcode-.args inside hook, which you able to change.

woo-product-table-pro\includes\functions.php:533:
array (size=11)
  'posts_per_page' => int 2
  'post_type' => string 'product' (length=7)
  'post_status' => string 'publish' (length=7)
  'meta_query' => 
    array (size=0)
      empty
  'wpt_query_type' => string 'default' (length=7)
  'pagination' => int 0
  'table_ID' => int 20243
  'suppress_filters' => int 1
  'orderby' => string 'menu_order' (length=10)
  'order' => string 'ASC' (length=3)
  'paged' => int 1