Admin
Class Admin
Source
File: inc/core/admin.php
Expand full source code Collapse full source code View on Github
Methods
- __construct — Admin constructor.
- adapt_conditional_headers — Filter localization data to adapt to the new builder.
- admin_notice — Add notice.
- bf_notice — Display Black friday notice.
- change_plugin_names — Change Orbit Fox and Otter plugin names to make clear where they are from.
- dismiss_script — Dismiss notice JS
- enqueue_gutenberg_scripts — Enqueue gutenberg scripts.
- get_notice_picture — Get notice screenshot based on previous theme.
- get_previous_theme — Memorize the previous theme to later display the import template for it.
- get_tpc_plugin_data — Get data specific to TPC plugin.
- load_site_import — Load site import module.
- maybe_register_notice_script_starter_sites — Maybe register the script required for the welcome notice.
- migrate_builders_data — Migration routine request.
- migrate_options — Import neve options when switching to a child theme.
- migrate_theme_mods_for_new_skin — Filter out old HFG values if the new builder is active.
- register_react_components — Register script for react components.
- register_rest_routes — Register Rest Routes.
- remove_background_submenu — Drop `Background` submenu item.
- remove_bf_notice — Remove BF notice;
- remove_notice — Remove notice;
- run_skin_and_builder_switches — Switch to the new 3.0 features.
- set_props — Setup Class Properties
- welcome_notice_content — Render welcome notice content