I am trying to include a css in my plugin, I found something related on stackoverflow, but it doesn't work out ! It is event not showing in console if the css file exists or not !
if ($session_data['login_cashdrawer_mode'] == 'waiter') {
add_action('wp_enqueue_scripts', 'callback_for_setting_up_scripts');
function callback_for_setting_up_scripts() {
wp_register_style( 'namespace', 'http://locationofcss.com/mycss.css' );
wp_enqueue_style( 'namespace' );
}
}