Add custom CSS for plugin admin Page
I guess you’re using this code in a wrong file other than the main plugin file (usually /wp-content/plugins/wp-cricket-info/wp-cricket-info.php). So, the file you’re referencing when enqueueing is actually incorrect. Follow the steps below- Define a constant in the main plugin file that references the file itself. define( ‘WP_CRICKET_INFO’, __FILE__ ); When enqueueing the CSS, use that … Read more