API – Filter & Action

Filters List of Woo Product Table

HookAvailable VariableFile LocationRefComment/How it works
wpt_table_show_toptrue, $attsincludes/shortcode.phpTo on off or show hide table.
wpto_column_arr$column_array, $table_ID, $atts, $column_settings, $enabled_column_arrayincludes/shortcode.phpAll Column’s Array which come from wpt_product_table post type
wpto_enabled_column_array$enabled_column_array, $table_ID, $atts, $column_settings, $column_arrayincludes/shortcode.phpAll Enabled Column Array
wpto_column_settings$column_settings, $table_ID, $enabled_column_arrayincludes/shortcode.phpshortcode genratorAll of columns settings
wpto_table_showtrue, $table_ID, $args, $config_value, $attsincludes/shortcode.phpBefore table tab, to show/hide table – true for showing, false for hiding table
wpto_page_number$page_number, $table_ID, $args, $column_settings, $enabled_column_array, $column_arrayincludes/shortcode.phpTo change default page number
wpto_table_query_args$args, $table_ID, $atts, $column_settings, $enabled_column_array, $column_arrayincludes/shortcode.phpTo Modify Query Args for products
wpto_checkbox_validationfalse, $enabled_column_array,$column_settings, $table_ID, $attsincludes/shortcode.phpTo on/off of table’s Checkbox button on the top right of table
wpt_before_table_wrapperincludes/shortcode.phpWe should remove this filter – It’s a mistake
wpto_wrapper_tag_class_arr$wrapper_class_arr, $table_ID, $args, $column_settings, $enabled_column_array, $column_arrayincludes/shortcode.phpTable’s wrapper table class hanlde based on Array. it’s return a array
end_part_advance_search_box_abcincludes/shortcode.phpIt’s should be a Action Hook Actually – Old version code it is
wpt_before_tableincludes/shortcode.phpIt’s should be a Action Hook Actually – Old version code it is
wpto_table_tag_class_arr$table_class_arr, $table_ID, $args, $column_settings, $enabled_column_array, $column_arrayincludes/shortcode.phpTo handle Table tags Class based on Arraay
wpt_change_table_idwpt_table’includes/shortcode.phpTo change default table id attribute
wpt_after_tableincludes/shortcode.phpIt’s should be a Action Hook Actually – Old version code it is
wpto_column_settings$column_settings, $table_ID, $table_column_keywordsincludes/shortcode.phptable row generator
wpto_table_query_args_in_row$args, $table_ID, false, $column_settings, false, falseincludes/shortcode.phpThis is another Query Args filter inside Row generator. Just before final Query
wpto_product_loop$product_loop, $table_ID, $argsincludes/shortcode.phpQuery Object for Product Loop
woocommerce_quantity_input_min1, $productincludes/shortcode.phpWC builtin filter. to controll qty
wpo_row_manager_loc$row_manager_loc, $column_settings,$table_column_keywords, $args, $table_ID, $productincludes/shortcode.phpFile location for row_manager inside includes folder
wpto_searchbox_taxonomy_name$taxonomy_details->labels->menu_name, $texonomy_keyword, $temp_numberincludes/shortcode.phpwpt_texonomy_
search_generator
To change Taxonomy name For Advance Search Box
wpto_searchbox_order_showfalse,$temp_number, $config_value, $search_box_texonomiy_keywordincludes/shortcode.phpwpt_search_boxTo show/hide Dropdown of Order
end_part_advance_search_box‘,$table_IDincludes/shortcode.phpIt’s should convert as a Action hook
woocommerce_add_to_cart_validationtrue, $product_id, $quantity, $variation_id, $variation, $cart_item_dataInludes/ajax_add_to_cart.phpWC builtin filter. to add cart of variation product
wpto_short_message_warning$short_mesg_warning, $_REQUESTInludes/ajax_add_to_cart.phpTo cange shortmessage warning message. Default message is: Please enter Short Message
wpto_localize_data$WPT_DATAincludes/enqueue.phpTo change default localize data for JavaScript
wpto_extra_items_arr$extra_items, $keyword, $column_settings, $table_ID, $productincludes/extra_items_manager.phpTo manage Extra Items inside table td based on $extra_items array
wpto_keyword_settings$settings, $table_ID, $product, $column_settingsincludes/extra_items_manager.phpTo mange setting based on keyword for items and td
wpto_keyword_settings_{$keyword}$settings, $table_ID, $product, $column_settingsincludes/extra_items_manager.phpManage special keyword’s settings
wpto_column_type$type, $keyword, $table_ID, $product, $settings, $column_settingsincludes/extra_items_manager.phpHandle type of itmes or column td
wpto_template_folder$items_directory,$keyword, $type, $table_ID, $product, $settings, $column_settingsincludes/extra_items_manager.phpAbble to change Template Root Directory Based on $keyword, $column_type, $table_ID, Global $product
wpto_item_dir_type_{$type}$items_directory_1, $table_ID, $product, $settings, $column_settingsincludes/extra_items_manager.phpTemplate Directory change based on item/td/column’s type
wpto_template_loc$file, $keyword, $type, $table_ID, $product, $file_name, $settings, $column_settingsincludes/extra_items_manager.phpManage File template location directory
wpto_template_loc_type_{$type}$file, $keyword, $table_ID, $product, $file_name, $settings, $column_settingsincludes/extra_items_manager.phpManage File template location directory based on specify type of item/column
wpto_template_loc_item_{$keyword}$file,$type, $product, $table_ID, $settings,$column_settingsincludes/extra_items_manager.phpKeyword/column keyword wise template file manage to change location file directory
wpto_defult_file_loc$file, $keyword, $product, $table_IDincludes/extra_items_manager.phpTo manage default file location, where a template file is not founded
wpto_curent_deteted_device$device, $enabled_column_array, $table_IDincludes/functions.phpTo manage detected device, such: mobile, tablet, Desktop
wpto_inside_checked_item_arr$items, $keyword, $column_settings, $columns_arrayincludes/functions.phpManage Selected items inside a columns
wpto_inside_item_arr$items_columns, $keyword, $column_settings, $postincludes/functions.phpManage inside all items’s array
wpto_inside_item_arr_{$keyword}$items_columns, $column_settings, $postincludes/functions.phpManage inside all items’s array based on specific keyword
wpto_get_config_value$config_value, $table_IDincludes/functions.phpHandle config value which getting from get_option
wpto_pagination_format?paged=%#%’, $argsincludes/functions.phpTo change pagination’s default format
woocommerce_attributewpautop( wptexturize( implode( ‘, ‘, $values ) ) ), $attribute, $valuesincludes/functions.phpWC builtin filter
wpto_default_width_freeze_col120px’, $table_IDincludes/functions.phpdetauld width handle for freeze column
wpto_table_row_loc$table_row_loc, $column_settings,$table_column_keywords, $args, $table_ID, $productManage table_row.php file location
wpt_menu_capabilitywoocommerce_manage’woo-product-table.phpChange menu permission
wpto_default_column_arr$column_arraywoo-product-table.phpAdd or remove default columns
wpto_default_enable_column_arr$default_enabled_col_array, $column_arraywoo-product-table.phpFilter for Default Enabled Column
wpto_shortcode_text$shortCodeTextwoo-product-table.phpChange default shortcode text
wpto_default_configure$defaultwoo-product-table.phpChange default configuration
wpt_admin_form_top_linkstrue, $postadmin/action-hook.phpTake control on top links
wpto_configuration_settings$settingsadmin/configuration_page.phpConfig page settings return array
wpto_admin_tab_array$tab_array, $postadmin/post_metabox_form.phpConfig tabs array add/remove
wpto_supported_css_property$supported_css_property, $tab_array, $postadmin/post_metabox_form.phpAdd or remove CSS properties
wpt_supported_terms$supported_terms, $tab_array, $postadmin/post_metabox_form.phpAdd or remove supported terms
wpto_additional_variable$additional_variable, $postadmin/post_metabox_form.phpAdditional tab and CSS values as array
wpto_form_tab_validation_{$tab}true, $post, $tab_arrayadmin/post_metabox_form.phpTab validation defalt return true
wpto_admin_tab_folder_dir$tab_dir_loc, $tab, $post, $tab_arrayadmin/post_metabox_form.phpChange the default tab directory location
wpto_admin_tab_file_loc$tab_file, $tab, $post, $tab_arrayadmin/post_metabox_form.phpChange the default tab file location
wpto_admin_tab_file_loc_{$tab}$tab_file_admin, $post, $tab_arrayadmin/post_metabox_form.phpChange tab specific file location
wpto_ajax_form_submit$ajax_submit_btn, $postadmin/post_metabox_form.phpTo Disable ajax Save Option, Just need return false
wpto_save_tab_array$save_tab_array, $post_id, $postadmin/post_metabox.phpwpt_shortcode_configuration_metabox_save_metaManipulate tab array
wpto_tab_data_on_save$tab_data, $tab, $post_id, $save_tab_arrayadmin/post_metabox.phpwpt_shortcode_configuration_metabox_save_metaCheck $_POST value when submit form
wpto_tab_data_on_save_{$tab}$tab_data, $post_id, $save_tab_arrayadmin/post_metabox.phpwpt_shortcode_configuration_metabox_save_metaCheck $_POST value when submit form for each tab
wpto_addnew_col_arr$add_new_col_type, $columns_array, $column_settings, $postadmin/tabs/column_settings.phpAdd/remove column type for add new column from bottom of the column tab
wpto_responsive_device_arr$supported_device, $post, $column_array, $meta_responsivewp-content\plugins\woo-product-table\admin\tabs\responsive.phpAdd/remove new device type
wpto_responsive_col_arr$r_selected_column, $post, $devc_keywp-content\plugins\woo-product-table\admin\tabs\responsive.phpTo set Default Column Array Key for All device
wpto_responsive_col_arr_{$devc_key}$r_selected_column, $postwp-content\plugins\woo-product-table\admin\tabs\responsive.phpTo set Default Column Array Key for device specific
wpto_add_to_cart_url$add_to_cart_url, $settings, $column_settings, $table_ID, $productincludes/items/action.phpAdd to cart url control
wpto_add_to_cart_text$add_to_cart_text_final, $settings, $column_settings, $table_ID, $productincludes/items/action.phpAdd to cart text
woocommerce_loop_add_to_cart_link$product,false,falseincludes/items/action.phpLoop add to cart link
wpto_product_real_idfalse, $product, $temp_number, $keyword, $column_settingsincludes/items/custom_field.phpvariation product ID
woocommerce_quantity_input_min1, $productincludes/items/quantity.phpChange min input
woocommerce_quantity_input_max-1, $productincludes/items/quantity.phpChange max input
woocommerce_quantity_input_min0, $productincludes/items/quantity.phpChange min input
woocommerce_quantity_input_step1, $productincludes/items/quantity.phpChange min input
wpto_thumbs_sizearray( $config_value[‘thumbs_image_size’], $config_value[‘thumbs_image_size’] ), $settings, $column_settings, $table_ID, $productincludes/items/thumbnails.phpThumbnail size manipulate

Action List of Woo Product Table

keywordAvailable VariableFile LocationRefComment
wpto_action_start_table$table_ID, $args, $column_settings, $enabled_column_array, $config_value, $attsincludes/shortcode.phpshortcode generatorat before table tag
wpto_action_table_wrapper_top$table_ID, $args, $column_settings, $enabled_column_array, $config_value, $attsincludes/shortcode.phpTop of the Table
wpto_table_wrapper_bottom$table_ID, $args, $column_settings, $enabled_column_array, $config_value, $attsincludes/shortcode.php
wpto_before_row$column_settings, $table_ID, $product, $temp_numberincludes/shortcode.php
wpto_element_top$keyword, $table_ID, $settings, $column_settings, $productincludes/extra_items_manager.php
wpto_item_top$keyword, $table_ID, $settings, $column_settings, $parent_column_settings, $productincludes/extra_items_manager.php
wpto_element_bottom$keyword, $table_ID, $settings, $column_settings, $productincludes/extra_items_manager.php
wpto_item_bottom$keyword, $table_ID, $settings, $column_settings, $parent_column_settings, $productincludes/extra_items_manager.php
wpto_column_top$keyword, $table_ID, $settings, $column_settings, $productincludes/table_row.php
wpto_column_bottom$keyword, $table_ID, $settings, $column_settings, $productincludes/table_row.php
wpt_action_variation$productincludes/items/action.php
wpto_blank_type_column$settings, $product, $keyword, $table_ID, $column_settingsincludes/items/blank.php
wpto_blank_type_column_{$keyword}$settings, $product, $table_ID, $column_settingsincludes/items/blank.php
wpto_blank_centent$setting, $product, $keyword, $table_ID, $column_settingsincludes/items/blank_type.php
wpto_freeze_column$settings, $product, $keyword, $table_ID, $column_settingsincludes/items/freeze.php
wpo_pro_feature_message$image_nameadmin/tabs/basics.phpTo show pro image
wpto_admin_basic_tab$meta_basics, $tab, $post, $tab_arrayadmin/tabs/basics.php
wpo_pro_feature_messageadmin/tabs/basics.php
wpto_admin_basic_tab_bottom$meta_basics, $tab, $post, $tab_arrayadmin/tabs/basics.php
wpto_column_setting_form_{$keyword}$column_settings, $columns_array, $updated_columns_array, $post, $additional_dataadmin/tabs/column_settings.php
wpto_column_setting_form_inside_{$keyword}$column_settings, $columns_array, $updated_columns_array, $post, $additional_dataadmin/tabs/column_settings.php
wpto_column_setting_form$keyword, $column_settings, $columns_array, $updated_columns_array, $post, $additional_dataadmin/tabs/column_settings.php
wpto_admin_search_n_filter_tab$meta_search_n_filter, $postadmin/tabs/search_n_filter.php
wpto_admin_configuration_panel_bottom$settings,$current_config_valueadmin/action-hook.phpwpt_configure_basic_partAdd content after in Plugin Config -> Basic Settings
wpto_form_top$postadmin/post_metabox_form.phpadd content before config form
wpto_form_tab_top_{$tab}$postadmin/post_metabox_form.phpadd content bofore each tab
wpto_admin_tab_{$tab}$post, $tab_arrayadmin/post_metabox_form.phpAdding content to bofore of any admin Tab of Form
wpto_form_tab_bottom_{$tab}$postadmin/post_metabox_form.phpadd content at the bottom of specific tab
wpto_form_bottom$postadmin/post_metabox_form.phpadd content to the bottom of form