wpdatatables_filtering_form_search_button

Contents

Description

The wpdatatables_filtering_form_search_button action fires during the rendering of the filter form.

Usage

add_action('wpdatatables_filtering_form_search_button', 'my_custom_search_button', 10, 3);

Parameters

  • $showSearchFiltersButton bool
    Whether the search filters button should be shown.
  • $disableSearchFiltersButton bool
    Whether the search filters button should be disabled.
  • $tableSkin string (optional)
    The current table skin name (e.g., ‘mojito’, ‘dark-mojito’).

Examples


function my_custom_search_button($showSearchFiltersButton, $disableSearchFiltersButton, $tableSkin = '') {
    // Your code here
}
add_action('wpdatatables_filtering_form_search_button', 'my_custom_search_button', 10, 3);