Skip to content

Commit 89a4c09

Browse files
committed
remove extendify admin menu for embed.
Signed-off-by: Kev Provance <[email protected]>
1 parent d3cb67c commit 89a4c09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extendify-sdk/app/Welcome.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Welcome
2323
*/
2424
public function __construct()
2525
{
26-
if ('standalone' === $GLOBALS['extendify_sdk_partner']) {
26+
if (isset($GLOBALS['extendify_sdk_partner']) && 'standalone' === $GLOBALS['extendify_sdk_partner']) {
2727
add_action( 'admin_menu', [ $this, 'addAdminMenu' ] );
2828

2929
$this->loadScripts();

0 commit comments

Comments
 (0)