_scripts’, ‘my_theme_enqueue_styles’ );
?>
This wordpress code is for enqueuing styles. The code includes a function for my_theme_enqueue_styles(). Within this function, a $parent_style variable is created to store the name of the parent style. Then, the wp_enqueue_style() function is used to enqueue the parent style. The last two lines of code are similar, but instead enqueue the child style.
Was this code snippet helpful?
YesNo