I want to check if a path contain a string,
like, if path contain plugins then return false, and if path contain themes then return true.
D:\wamp\www\wp-content/plugins/someplugin/index.phtml // return false
D:\wamp\www\wp-content/themes/index.php // return true
 
     
     
     
    