projects
/
WP-Plugins
/
glm-member-db.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbc8d2e
)
Loading plugin.php on front end for is_plugin_active() function
author
Chuck Scott
<cscott@gaslightmedia.com>
Tue, 26 Jan 2016 17:35:02 +0000
(12:35 -0500)
committer
Chuck Scott
<cscott@gaslightmedia.com>
Tue, 26 Jan 2016 17:35:02 +0000
(12:35 -0500)
setup/frontHooks.php
patch
|
blob
|
history
diff --git
a/setup/frontHooks.php
b/setup/frontHooks.php
index
10b3268
..
3007576
100644
(file)
--- a/
setup/frontHooks.php
+++ b/
setup/frontHooks.php
@@
-50,6
+50,7
@@
add_filter('init', function() {
// Squash Bread Crumbs if using Breadcrumb NavXT plugin -- NEED TO CREATE A MANAGEMENT OPTION FOR THIS TO TURN IT ON/OFF
$plugin_name = 'glm-member-db/glm-member-db.php';
+include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
if (is_plugin_active($plugin_name)) {
add_action('bcn_after_fill', function($trail) {
global $post;