gppt_enable_extras
Description
Filter whether all of Swiper should be loaded instead of a smaller subset of features.
Usage
Applied globally
add_filter( 'gppt_enable_extras', 'my_custom_function' );
Applied to specific form
add_filter( 'gppt_enable_extras_FORMID', 'my_custom_function' );
Parameters
$enable_extras
bool
Whether to load the full version of Swiper. Default: false
.
$form
array
The current form.