Contact Form 7のJavaScriptを読み込まないでみる
functions.php
/**
* プラグインのJavaScriptを読み込まない
*/
add_action( 'wp_print_scripts', 'deregister_wp_print_script', 100 );
function deregister_wp_print_script() {
wp_deregister_script('contact-form-7');
}
Go to list of users who liked
More than 5 years have passed since last update.
Contact Form 7のJavaScriptを読み込まないでみる
/**
* プラグインのJavaScriptを読み込まない
*/
add_action( 'wp_print_scripts', 'deregister_wp_print_script', 100 );
function deregister_wp_print_script() {
wp_deregister_script('contact-form-7');
}
Register as a new user and use Qiita more conveniently
Go to list of users who liked