* @package WPMUDEV_BLC\Core\Interfaces * * @copyright (c) 2022, Incsub (http://incsub.com) */ namespace WPMUDEV_BLC\Core\Views; // Abort if called directly. defined( 'WPINC' ) || die; use WPMUDEV_BLC\Core\Interfaces\Admin_View; use WPMUDEV_BLC\Core\Utils\Abstracts\Base; use WPMUDEV_BLC\Core\Utils\Utilities; /** * Class that other admin pages can use/extend. */ abstract class Admin_Page extends Base implements Admin_View { /** * The unique id that can be used by react. Sent over from Controller. * * @var int $unique_id * * @since 2.0.0 */ public static $unique_id = null; /** * The page slug. * * @var string $slug * * @since 2.0.0 */ public static $slug = null; /** * Render the output. * * @since 2.0.0 * @param array $params . * * @return void Render the output. */ abstract public function render( $params = array() ); /** * Prints some header content. */ public function render_header() { ?>

' ); if ( Utilities::is_site_connected() ) { $hide_footer = apply_filters( 'wpmudev_branding_change_footer', false ); $footer_text = apply_filters( 'wpmudev_branding_footer_text', $footer_text ); } ?>