post_type, self::POST_TYPES, true ) || (bool) preg_match( '/(ma_setting|mapp_form_crm|mapp_funnel|ma_export)/', (string) $screen->id ); } /** * @param string $classes Body classes. * @return string */ public static function body_class( $classes ) { return self::is_ours() ? $classes . ' mapp-ui' : $classes; } /** Styles here; 2.6 assets nowhere else. */ public static function enqueue() { if ( ! self::is_ours() ) { wp_dequeue_style( 'ma_css_admin' ); wp_dequeue_script( 'ma_js_admin' ); return; } wp_enqueue_style( 'mapp-admin', MAPP_MORTGAGE_APP_BASE_URL . 'assets/admin/admin.css', array(), MAPP_MORTGAGE_APP_VERSION ); } /** * Page header: title, one line of context, optional actions on the right. * * @param string $title Title. * @param string $desc Description (plain text). * @param string $aside Escaped HTML for the right side. */ public static function head( $title, $desc = '', $aside = '' ) { echo '
' . esc_html( $desc ) . '
'; } echo '' . esc_html( sanitize_text_field( wp_unslash( $_GET['mapp_msg'] ) ) ) . '