Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include only some on is_admin() #52

Open
jrtashjian opened this issue May 19, 2020 · 0 comments
Open

Include only some on is_admin() #52

jrtashjian opened this issue May 19, 2020 · 0 comments

Comments

@jrtashjian
Copy link
Member

Migrating from TODO inline comment.

/**
* Loads the PHP files.
*
* @todo include only some on is_admin()
* @codeCoverageIgnore
*/
private function requirements() {
// The Dispatcher.
require_once GEM_PLUGIN_DIR . 'includes/class-dispatcher.php';
// The shortcode.
require_once GEM_PLUGIN_DIR . 'includes/class-shortcode.php';
// Content blocks.
require_once GEM_PLUGIN_DIR . 'includes/class-blocks.php';
// The file renders the form.
require_once GEM_PLUGIN_DIR . 'includes/render.php';
// The main widget.
require_once GEM_PLUGIN_DIR . 'includes/widget.php';
// Settings page, creds validation.
require_once GEM_PLUGIN_DIR . 'includes/settings.php';
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant