um_ajax_select_options__debug_mode

Hook type

Filter

Description

Activate debug mode for AJAX select options

Parameters

$debug_mode

(bool) Enable Debug mode

Usage

<?php add_filter( 'um_ajax_select_options__debug_mode', 'function_name', 10, 1 ); ?>

Examples

<?php
add_filter( 'um_ajax_select_options__debug_mode', 'my_ajax_select_options__debug_mode', 10, 1 );
function my_ajax_select_options__debug_mode( $debug_mode ) {
    // your code here
return $debug_mode;
}
?>

Change Log

Since: 2.0

Source

um_ajax_select_options__debug_mode is located in includes/core/class-form.php::line 95