To change the Product Table Query Arguments
Return void. Able to control whole Shortcode object. It's called at before render. So user able to do anything by this hook. Even it will work through ajax call.
inc/shortcode.php
Shortcode object inside hook, which you able to change.
object(WOO_PRODUCT_TABLE\Inc\Shortcode)[1086]
public '_root' => string 'WOO_PRODUCT_TABLE\Inc\Shortcode' (length=31)
private 'assing_property' => boolean true
public 'args_organized' => boolean true
public 'args_ajax_called' => null
public 'atts' =>
array (size=2)
'id' => string '20243' (length=5)
'name' => string 'Hello June 2023' (length=15)
public 'table_id' => int 20243
public 'unique_id' => string 'lysoAsuIoaCitredSllgofma' (length=24)
public 'status' => string 'publish' (length=7)
public 'post_type' => string 'wpt_product_table' (length=17)
public 'req_post_type' => string 'wpt_product_table' (length=17)
public 'posts_per_page' => string '30' (length=2)
public 'table_type' => string 'normal_table' (length=12)
public 'req_product_type' => string 'product' (length=7)
public 'is_table' => boolean true
public 'page_number' => int 1
public 'paginated_load' => boolean false
public 'error_name' => null
public 'is_table_head' => boolean true
public 'is_table_column' => boolean true
public '_device' => string '' (length=0)
public 'device' => string 'desktop' (length=7)
public 'generated_row' => boolean false
public 'args' =>
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
public '_enable_cols' =>
array (size=6)
'check' => string 'check' (length=5)
'product_title' => string 'product_title' (length=13)
'category' => string 'category' (length=8)
'tags' => string 'tags' (length=4)
'sku' => string 'sku' (length=3)
'action' => string 'action' (length=6)
public 'col_count' => int 6
public 'column_array' =>
array (size=6)
'check' => string 'Check' (length=5)
'product_title' => string 'Products' (length=8)
'category' => string 'Category' (length=8)
'tags' => string 'Tags' (length=4)
'sku' => string 'SKU' (length=3)
'action' => string 'Action' (length=6)
public 'column_settings' =>
array (size=7)
'check' =>
array (size=3)
'type' => string 'default' (length=7)
'type_name' => string 'Default' (length=7)
'tag_class' => string 'item_check_20243 item_FdCvjozPDW' (length=32)
'product_title' =>
array (size=3)
'type' => string 'default' (length=7)
'type_name' => string 'Default' (length=7)
'tag_class' => string 'item_product_title_20243 item_alkPzfZidE' (length=40)
'title_variation' => string 'link' (length=4)
'category' =>
array (size=3)
'type' => string 'default' (length=7)
'type_name' => string 'Default' (length=7)
'tag_class' => string 'item_category_20243 item_oWElqdueCh' (length=35)
'tags' =>
array (size=3)
'type' => string 'default' (length=7)
'type_name' => string 'Default' (length=7)
'tag_class' => string 'item_tags_20243 item_yIKoBYcNeJ' (length=31)
'sku' =>
array (size=3)
'type' => string 'default' (length=7)
'type_name' => string 'Default' (length=7)
'tag_class' => string 'item_sku_20243 item_ykIwXzPfoM' (length=30)
'action' =>
array (size=3)
'type' => string 'default' (length=7)
'type_name' => string 'Default' (length=7)
'tag_class' => string 'item_action_20243 item_rxfUoFDWeK' (length=33)
public 'basics' =>
array (size=10)
'responsive' => string 'mobile_responsive' (length=17)
'query_relation' => string 'IN' (length=2)
'ajax_action' => string 'ajax_active' (length=11)
'pagination' => string 'on' (length=2)
'pagination_ajax' => string 'pagination_ajax' (length=15)
'minicart_position' => string 'top' (length=3)
'temp_number' => string '514' (length=3)
'stats_post_count' => string 'Showing %s out of %s' (length=20)
'stats_page_count' => string 'Page %s out of %s' (length=17)
'checkbox' => string 'wpt_no_checked_table' (length=20)
public 'auto_responsive' => boolean true
public 'basics_args' =>
array (size=0)
empty
public 'search_n_filter' =>
array (size=6)
'search_box' => string 'yes' (length=3)
'whole_search' => string 'on' (length=2)
'taxonomy_keywords' =>
array (size=2)
0 => string 'product_cat' (length=11)
1 => string 'product_tag' (length=11)
'filter_box' => string 'yes' (length=3)
'filter' =>
array (size=2)
0 => string 'product_cat' (length=11)
1 => string 'product_tag' (length=11)
'cf_search_box' => string 'no' (length=2)
public 'conditions' =>
array (size=5)
'sort' => string 'ASC' (length=3)
'sort_order_by' => string 'menu_order' (length=10)
'only_sale' => string 'no' (length=2)
'posts_per_page' => string '30' (length=2)
'description_type' => string 'short_description' (length=17)
public 'pagination' => string 'on' (length=2)
public 'post_include' =>
array (size=0)
empty
public 'post_exclude' =>
array (size=0)
empty
public 'cat_explude' =>
array (size=0)
empty
public 'min_price' => string '' (length=0)
public 'max_price' => string '' (length=0)
public 'minicart_position' => string 'top' (length=3)
public 'add_to_cart_text' => string 'Add to cart' (length=11)
public 'pagination_ajax' => string 'pagination_ajax' (length=15)
public 'checkbox' => string 'wpt_no_checked_table' (length=20)
public 'template' => string 'default' (length=7)
public 'css_dependency' => null
public 'template_name' => null
public 'search_box' => boolean true
public 'whole_search' => string 'on' (length=2)
public 'hide_input' => boolean false
public 'filter_box' => boolean true
public 'instance_search' => boolean false
public 'filter' =>
array (size=2)
0 => string 'product_cat' (length=11)
1 => string 'product_tag' (length=11)
public 'orderby' => string 'menu_order' (length=10)
public 'order' => string 'ASC' (length=3)
public 'meta_value_sort' => string '' (length=0)
public 'table_style' =>
array (size=2)
'template' => string 'default' (length=7)
'tr.wpt_table_head th' =>
array (size=1)
'auto-responsive-column-label' => string 'show' (length=4)
public '_config' =>
array (size=55)
'plugin_version' => string '8.3.0' (length=5)
'plugin_name' => string 'Woo Product Table Pro - (Product Table by CodeAstrology)' (length=56)
'archive_table_id' => string '20262' (length=5)
'table_on_archive' => string 'on' (length=2)
'variation_table_id' => string '' (length=0)
'variation_table_position' => string 'woocommerce_single_product_summary' (length=34)
'vt_prod_inc_exc' => string '' (length=0)
'vt_prod_inc_exc_ids' => string '' (length=0)
'footer_cart_template' => string 'none' (length=4)
'disable_live_support' => string '1' (length=1)
'custom_add_to_cart' => string 'add_cart_left_icon' (length=18)
'thumbs_image_size' => string '80' (length=2)
'footer_cart' => string 'always_hide' (length=11)
'footer_bg_color' => string '#0a7f9c' (length=7)
'footer_possition' => string 'bottom_right' (length=12)
'footer_cart_size' => string '74' (length=2)
'sort_mini_filter' => string 'ASC' (length=3)
'sort_searchbox_filter' => string '0' (length=1)
'instant_search_filter' => string '0' (length=1)
'instant_search_text' => string 'Instant Search..' (length=16)
'product_link_target' => string '_blank' (length=6)
'disable_cat_tag_link' => string '0' (length=1)
'popup_notice' => string '1' (length=1)
'product_direct_checkout' => string 'no' (length=2)
'all_selected_direct_checkout' => string 'no' (length=2)
'query_by_url' => string '0' (length=1)
'item_count' => string 'all' (length=3)
'product_not_founded' => string 'Products not found!' (length=19)
'type_your_message' => string 'Type your Message.' (length=18)
'load_more_text' => string 'Load more' (length=9)
'loading_more_text' => string 'Loading..' (length=9)
'search_button_text' => string 'Search' (length=6)
'empty_cart_text' => string 'Empty Cart' (length=10)
'add2cart_all_added_text' => string 'Added' (length=5)
'item' => string 'Item' (length=4)
'items' => string 'Items' (length=5)
'search_box_title' => string 'Search Box (%sAll Fields Optional%s)' (length=36)
'search_keyword_text' => string 'Search Keyword' (length=14)
'search_box_searchkeyword' => string 'Search Keyword' (length=14)
'search_box_sale' => string '' (length=0)
'search_box_orderby' => string 'Sort By' (length=7)
'search_box_order' => string 'Order' (length=5)
'search_order_placeholder' => string 'Select inner Item.' (length=18)
'filter_text' => string 'Filter:' (length=7)
'filter_reset_button' => string 'Reset' (length=5)
'right_combination_message' => string 'Not available' (length=13)
'right_combination_message_alt' => string 'Product variations is not set Properly. May be: price is not inputted. may be: Out of Stock.' (length=92)
'select_all_items_message' => string 'Please select all items.' (length=24)
'please_choose_items' => string 'Please select some items.' (length=25)
'out_of_stock_message' => string 'Out of Stock' (length=12)
'no_more_query_message' => string 'There is no more products based on current Query.' (length=49)
'adding_in_progress' => string 'Adding in Progress' (length=18)
'no_right_combination' => string 'No Right Combination' (length=20)
'sorry_plz_right_combination' => string 'Sorry, Please choose right combination.' (length=39)
'sorry_out_of_stock' => string 'Sorry! Out of Stock!' (length=20)
public 'wrapper_class' => null
public 'table_class' => null
public 'is_column_label' => string 'show' (length=4)
public 'max_num_pages' => null
public 'product_count' => null
public 'found_products' => null
public 'product_loop' => null
public 'shortcde_text' => string 'Product_Table' (length=13)
public 'table_display' => boolean true
public 'product_notfound' => boolean false
public 'basic_settings' =>
array (size=4)
'checkout_url' => string 'http://wpp.cm/checkout/' (length=23)
'add_to_cart' => string 'Add to cart' (length=11)
'site_url' => string 'http://wpp.cm' (length=13)
'ajax_action' => string 'ajax_active' (length=11)
public 'base_config' =>
array (size=55)
'plugin_version' => string '8.3.0' (length=5)
'plugin_name' => string 'Woo Product Table Pro - (Product Table by CodeAstrology)' (length=56)
'archive_table_id' => string '20262' (length=5)
'table_on_archive' => string 'on' (length=2)
'variation_table_id' => string '' (length=0)
'variation_table_position' => string 'woocommerce_single_product_summary' (length=34)
'vt_prod_inc_exc' => string '' (length=0)
'vt_prod_inc_exc_ids' => string '' (length=0)
'footer_cart_template' => string 'none' (length=4)
'disable_live_support' => string '1' (length=1)
'custom_add_to_cart' => string 'add_cart_left_icon' (length=18)
'thumbs_image_size' => string '80' (length=2)
'footer_cart' => string 'always_hide' (length=11)
'footer_bg_color' => string '#0a7f9c' (length=7)
'footer_possition' => string 'bottom_right' (length=12)
'footer_cart_size' => string '74' (length=2)
'sort_mini_filter' => string 'ASC' (length=3)
'sort_searchbox_filter' => string '0' (length=1)
'instant_search_filter' => string '0' (length=1)
'instant_search_text' => string 'Instant Search..' (length=16)
'product_link_target' => string '_blank' (length=6)
'disable_cat_tag_link' => string '0' (length=1)
'popup_notice' => string '1' (length=1)
'product_direct_checkout' => string 'no' (length=2)
'all_selected_direct_checkout' => string 'no' (length=2)
'query_by_url' => string '0' (length=1)
'item_count' => string 'all' (length=3)
'product_not_founded' => string 'Products not found!' (length=19)
'type_your_message' => string 'Type your Message.' (length=18)
'load_more_text' => string 'Load more' (length=9)
'loading_more_text' => string 'Loading..' (length=9)
'search_button_text' => string 'Search' (length=6)
'empty_cart_text' => string 'Empty Cart' (length=10)
'add2cart_all_added_text' => string 'Added' (length=5)
'item' => string 'Item' (length=4)
'items' => string 'Items' (length=5)
'search_box_title' => string 'Search Box (%sAll Fields Optional%s)' (length=36)
'search_keyword_text' => string 'Search Keyword' (length=14)
'search_box_searchkeyword' => string 'Search Keyword' (length=14)
'search_box_sale' => string '' (length=0)
'search_box_orderby' => string 'Sort By' (length=7)
'search_box_order' => string 'Order' (length=5)
'search_order_placeholder' => string 'Select inner Item.' (length=18)
'filter_text' => string 'Filter:' (length=7)
'filter_reset_button' => string 'Reset' (length=5)
'right_combination_message' => string 'Not available' (length=13)
'right_combination_message_alt' => string 'Product variations is not set Properly. May be: price is not inputted. may be: Out of Stock.' (length=92)
'select_all_items_message' => string 'Please select all items.' (length=24)
'please_choose_items' => string 'Please select some items.' (length=25)
'out_of_stock_message' => string 'Out of Stock' (length=12)
'no_more_query_message' => string 'There is no more products based on current Query.' (length=49)
'adding_in_progress' => string 'Adding in Progress' (length=18)
'no_right_combination' => string 'No Right Combination' (length=20)
'sorry_plz_right_combination' => string 'Sorry, Please choose right combination.' (length=39)
'sorry_out_of_stock' => string 'Sorry! Out of Stock!' (length=20)
public 'wpml_bool' => boolean false
public 'wpml_lang' => null
public 'wpml_default_lang' => null
public 'table_on_archive' => boolean true
public 'table_on_variable' => boolean false
public 'has_shortcode' => null
public 'items_directory' => string 'G:\wamp64\www\wp-practice\wp-content\plugins\woo-product-table/includes/items/' (length=78)
public 'items_permanent_dir' => string 'G:\wamp64\www\wp-practice\wp-content\plugins\woo-product-table/includes/items/' (length=78)
public 'footer_cart' => boolean true
public 'footer_cart_template' => string 'none' (length=4)
public 'site_theme' => string 'storefront' (length=10)
public 'is_pro' => boolean true
public 'plugin_prefix' => string 'wpt' (length=3)
public 'dev_version' => string '3.4.3.0' (length=7)
public 'base_url' => string 'http://wpp.cm/wp-content/plugins/woo-product-table/' (length=51)
public 'base_dir' => string 'G:/wamp64/www/wp-practice/wp-content/plugins/woo-product-table/' (length=63)
public 'assets_url' => string 'http://wpp.cm/wp-content/plugins/woo-product-table/assets/' (length=58)
public 'data_packed' =>
array (size=5)
'table_head' => boolean true
'ajax_action' => string 'ajax_active' (length=11)
'only_stock' => boolean false
'only_sale' => boolean false
'checkbox_validation' => boolean true
public 'add_action' =>
array (size=0)
empty
public 'do_action' =>
array (size=1)
0 => string 'wpt_loaded' (length=10)
public 'add_filter' =>
array (size=0)
empty
public 'apply_filter' =>
array (size=3)
0 => string 'wpt_footer_cart_template' (length=24)
1 => string 'wpt_item_dir' (length=12)
2 => string 'wpt_query_args' (length=14)