rpress_is_ajax_disabled

Author: RestroPress 15 views

This filter is applied to use checks whether AJAX is disabled, it is return bool true when RPRESS AJAX is disabled (for the cart), false otherwise.

An example of how you can append is below:
function is_ajax_disabled( false = '' ) {
$ajax = //ajax function is disable;
}
add_filter('rpress_is_ajax_disabled', 'is_ajax_disabled');