Function Reference: geodir_fix_script_conflict
Summary
Dequeue scripts to fix JS conflicts.
Change Log
Since: 1.6.22
Source File
geodir_fix_script_conflict() is located in geodirectory_template_tags.php [Line: 808]
Source Code
function geodir_fix_script_conflict() {
if ( wp_script_is( 'flexslider', 'enqueued' ) && wp_script_is( 'geodirectory-jquery-flexslider-js', 'enqueued' ) ) {
wp_dequeue_script( 'flexslider' );
}
}