str_contains($page, '360notify-woocoommerce-setting')) { wp_enqueue_style( 'admin-notifysms-bootstrap', plugins_url('css/bootstrap.css', __DIR__), array(), // Dependencies '1.0.0' // Version number ); wp_enqueue_style( 'admin-notifysms-wpfooter-fix', plugins_url('css/wpfooter-fix.css', __DIR__), array(), // Dependencies '1.0.0' // Version number ); wp_style_add_data( 'admin-notifysms-bootstrap', 'rtl', 'replace' ); } } } private function str_contains($haystack, $needle) { return $needle !== '' && mb_strpos($haystack, $needle) !== false; } }