I'm trying to link to a custom css file in a new folder of a small plugin I'm trying to make. I can't seem to get it to work. This is the line I have
echo '<link rel="stylesheet" href="' . esc_url( plugins_url( 'public/css/front-end/uwc-tabs-style.css', __FILE__)) . '" >';
I've also tried the following but neither works.
echo '<link rel="stylesheet" href="' . plugins_url( 'public/css/front-end/uwc-tabs-style.css', __FILE__) . '" >';
As an edit. This is for an options result. eg. Select option 1 it returns the above stylesheet on the frontend