Limited time discount Black FRIDAY Cyber Monday
up to 70%Off
Grab Now

wpdatatables_before_placeholders_shortcode_url_filter

Contents

Description

The wpdatatables_before_placeholders_shortcode_url_filter action fires before processing placeholder variables from shortcode URL parameters. It allows developers to perform custom logic or modify variables before placeholder values are applied to the table rendering rules.

Usage

add_action('wpdatatables_before_placeholders_shortcode_url_filter', 'my_before_placeholders_shortcode_url_filter', 10, 1);

Parameters

  • $id int
    The ID of the wpDataTable being processed.

Examples

function my_before_placeholders_shortcode_url_filter($id) {
    // Your code here
}
add_action('wpdatatables_before_placeholders_shortcode_url_filter', 'my_before_placeholders_shortcode_url_filter', 10, 1);