is_admin() and OOP
-
Hey,
thank you for the plugin!
Is it possible to setup this nice plugin in to a oop version. it would be much more safer and it will come with an professional look. ??
second: there is a is_admin() behavior: if i will access (not logged in) to /wp-admin/ your plugin creates an 404(). but we are in a is_admin() situation, so some of my scripts which i only will load in the frontend, wont show up and generates some ugly errors.
for example: if you load in your functions.php like that:
if( !is_admin() ) {?load_some_css() }
in your 404, those css files wont ever load, because technically, your in admin mode. ?? is it possible, to redirect permanent to a another link, so we run out of the admins area?
- The topic ‘is_admin() and OOP’ is closed to new replies.