Всем привет. Подскажите нубу, что я делаю не так? add_action( 'wp_enqueue_scripts', 'my_scripts_method' );
function my_scripts_method() {
wp_deregister_script( 'jquery' );
wp_register_script( 'jquery', '//
ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js');
wp_enqueue_script( 'jquery' );
} ПОТОМ я пишу вот это wp_enqueue_sсript('slick', get_template_directory_uri() . '/slick/slick.min.js'); И выдаёт такую ошибку Fatal error: Uncaught Error: Call to undefined function wp_enqueue_sсript() in W:\domains\
website.com\wp-content\themes\maket-theme\functions.php:19 Stack trace: #0 W:\domains\
website.com\wp-settings.php(528): include() #1 W:\domains\
website.com\wp-config.php(89): require_once('W:\\domains\\webs...') #2 W:\domains\
website.com\wp-load.php(37): require_once('W:\\domains\\webs...') #3 W:\domains\
website.com\wp-blog-header.php(13): require_once('W:\\domains\\webs...') #4 W:\domains\
website.com\index.php(17): require('W:\\domains\\webs...') #5 {main} thrown in W:\domains\
website.com\wp-content\themes\maket-theme\functions.php on line 19