-
Notifications
You must be signed in to change notification settings - Fork 24
Helpers: WP Helper
Dan Alvidrez edited this page Jul 12, 2018
·
15 revisions
The WpHelper class is where shortcuts for Wordpress helper functions can be found. See the included definitions in the "WordpressServiceProvider" for more examples. You can hook into the Wordpress UI and hooks and filters by adding configurations or more service providers for each type of registration you'd like.
**Remember to add your additional "ServiceProviders" to bootstrap/app.php.
Examples:
$wpHelper->addPluginLinks(array(
'<a target="_blank" href="http://bayareawebpro.com">Developer</a>'
));
$wpHelper->addWidget(\App\Widgets\ExampleFrontEndWidget::class);