rpress_is_ajax_enabled()

Author: bibhu 15 views

This function can be used to check if ajax is enabled for Easy Digital Downloads. If you are integrating restropress into your theme, this may be very useful.

$is_ajaxed = rpress_is_ajax_enabled();
// (boolean) "false" if not enabled
// (boolean) "true" if is enabled