Main
Class Main
Source
File: inc/admin/dashboard/main.php
Expand full source code Collapse full source code View on Github
Methods
- __construct — Main constructor.
- bf_deal — Get the data for BF deal banner.
- enqueue — Load css and scripts for the about page
- get_customizer_shortcuts — Get the Customizer Shortcut Links.
- get_doc_link — Get doc link.
- get_external_plugins_data — Get data of external plugins that are not hosted on wp.org.
- get_free_pro_features — Get the pro features for the free v pro table.
- get_localization — Get localization data for the dashboard script.
- get_notifications — Get the notifications for plugin and theme updates.
- get_useful_plugins — Get the useful plugin data.
- init — Run WordPress attached to actions.
- register — Register theme options page.
- register_settings — Register Logger Setting
- render — Render the application stub.
- setup_config — Setup the class props based on current theme.
- should_show_feedback_notice — Check if feedback notice should be shown after 14 days since activation.
- show_branding_notice — Should branding notice be shown.