T_CONSTANT_ENCAPSED_STRING
Tragio opened this issue · comments
Hello,
I'm using several snippets in all my (functions.php) websites and they have always worked. I recently started working in Hello Theme but I'm having an error adding a simple snippet to functions.php.
[01-Jun-2019 19:40:23 UTC] PHP Parse error: syntax error, unexpected '' );' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /path/wp-content/themes/door/functions.php on line 6
`<?php
function custom_login_stylesheet() {
wp_enqueue_style( 'custom-login', get_stylesheet_directory_uri() . ‘/admin.css' );
}
add_action( 'login_enqueue_scripts', 'custom_login_stylesheet' );
function hello_elementor_child_enqueue_scripts() {
wp_enqueue_style(
'hello-elementor-child',
get_stylesheet_directory_uri() . '/style.css',
[
'hello-elementor'
],
'1.0.0'
);
}
add_action( 'wp_enqueue_scripts', 'hello_elementor_child_enqueue_scripts' );
`
Thank you!!