Commit 4bdd6067 authored by Danny Froberg's avatar Danny Froberg
Browse files

Added checks for Exxp Admin

parent c51651aa
Pipeline #1094 failed with stages
in 46 seconds
......@@ -551,6 +551,11 @@ $active_tab = isset( $_GET['tab'] ) ? $_GET['tab'] : 'preview';
<p>Exxp Plugin: <strong>Is installed.</strong></p>
<?php
}
if ( defined( 'DAILYBRIEF_DETECTED_EXXP_ADMIN' ) ) {
?>
<p>Exxp Admin: <strong>Is Available.</strong></p>
<?php
}
if ( defined( 'DAILYBRIEF_DETECTED_STEEMPRESS' ) ) {
?>
<strong>Warning:</strong>
......
......@@ -62,6 +62,9 @@ if ( class_exists( 'Steempress_sp_Admin' ) ) {
if (is_plugin_active('exxp-wp/exxp_wp.php')) {
define( 'DAILYBRIEF_DETECTED_EXXP', true );
if ( class_exists( 'Exxp_wp_Admin' ) ) {
define( 'DAILYBRIEF_DETECTED_EXXP_ADMIN', true );
}
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment