Minimizing Plugin Impact
-
What is the current best practice for limiting the scope of a plugin you’re creating? For example, say you have a plugin that only does stuff backend (admin). One way I thought of was
<?php // Plugin Name:... if (is_admin()) include('the-rest.php'); ?>
Is there a better way?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Minimizing Plugin Impact’ is closed to new replies.