PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/mytube.pm/wp-content/plugins/social-pug/inc/admin/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : /home/trave494/mytube.pm/wp-content/plugins/social-pug/inc/admin/submenu-page-debugger.php

<?php

/**
 * Function that creates the sub-menu item and page for the debugger.
 *
 * @return void
 */
function dpsp_register_debugger_subpage() {
	$settings = Mediavine\Grow\Settings::get_setting( 'dpsp_settings', [] );

	if ( ! empty( $settings['debugger_enabled'] ) ) {
		add_submenu_page( 'dpsp-social-pug', __( 'Debugger', 'social-pug' ), __( 'Debugger', 'social-pug' ), 'manage_options', 'dpsp-debugger', 'dpsp_debugger_subpage' );
	}
}

/**
 * Outputs content to the debugger subpage.
 */
function dpsp_debugger_subpage() {
	include DPSP_PLUGIN_DIR . '/inc/admin/views/view-submenu-page-debugger.php';
}

/**
 * Register hooks for submenu-page-debugger.php
 */
function dpsp_register_admin_debugger() {
	add_action( 'admin_menu', 'dpsp_register_debugger_subpage', 101 );
}