Rifqi Fahmi23,164 Points
what is handler ??
I have been studying PHP dev for a while. But I still confused what is 'handler' mean in PHP function?? Such as in this video, Zac make the handler is 'foundationd_css' . Can i type whatever handler name which i want ?? is there can someone elaborate what it mean ??
wp_enqueue_style('foundation_css', get_template_directory_uri(). '/css/foundation.css' );
Kevin Korte28,096 Points
Yes, this is a custom function written in wordpress. You won't fine "handler" in regular php documentation since it's it's really just an argument to the
wp_enqueue_style function defined in the wordpress ecosystem.
Handler can be any valid string. You get to decide.