메소드 |
설명 |
|
__construct ( ) |
A dummy constructor to prevent this class from being loaded more than once. |
|
_content_install_settings ( ) |
|
|
_get_json ( $file ) |
|
|
admin_menus ( ) |
Add admin menus/screens. |
|
admin_redirects ( ) |
|
|
ajax_content ( ) |
|
|
ajax_plugins ( ) |
|
|
cleanFilePath ( string $path ) |
Helper function
Take a path and return it clean |
|
cmpr_strlen ( $a, $b ) |
return the difference in length between two strings |
|
elementor_post ( $post_id = false ) |
|
|
enqueue_scripts ( ) |
|
|
envato_market_admin_init ( ) |
|
|
envato_market_http_request_args ( $args, $url ) : mixed |
|
|
envato_setup_color_style ( ) |
|
|
envato_setup_color_style_save ( ) |
Save logo & design options |
|
envato_setup_customize ( ) |
|
|
envato_setup_default_content ( ) |
Page setup |
|
envato_setup_default_plugins ( ) |
Page setup |
|
envato_setup_help_support ( ) |
|
|
envato_setup_introduction ( ) |
Introduction step |
|
envato_setup_introduction_save ( ) |
Handles save button from welcome page. This is to perform tasks when the setup wizard has already been run. E.g. reset defaults |
|
envato_setup_logo_design ( ) |
Logo & Design |
|
envato_setup_logo_design_save ( ) |
Save logo & design options |
|
envato_setup_ready ( ) |
Final step |
|
envato_setup_updates ( ) |
Payments Step |
|
envato_setup_updates_save ( ) |
Payments Step save |
|
error ( $message ) |
|
|
filter_options ( $options ) |
|
|
get_default_theme_style ( ) |
Get the default style. Can be overriden by theme init scripts. |
|
get_header_logo_width ( ) |
Get the default style. Can be overriden by theme init scripts. |
|
get_instance ( ) : Envato_Theme_Setup_Wizard |
|
|
get_logo_image ( ) |
Get the default style. Can be overriden by theme init scripts. |
|
get_next_step_link ( ) |
|
|
get_oauth_login_url ( $return ) |
we can update the token there. |
|
get_step_link ( $step ) |
|
|
get_tgmpa_instanse ( ) |
Get configured TGMPA instance |
|
init_actions ( ) |
Setup the hooks, actions and filters. |
|
init_globals ( ) |
Setup the class globals. |
|
init_wizard_steps ( ) : array |
Setup steps. |
|
is_possible_upgrade ( ) |
We determine if the user already has theme content installed. This can happen if swapping from a previous theme or updated the current theme. We change the UI a bit when updating / swapping to a new theme. |
|
is_submenu_page ( ) |
|
|
log ( $message ) |
|
|
render_oauth_login_description_callback ( ) |
|
|
render_oauth_login_fields_callback ( ) |
|
|
set_tgmpa_url ( ) |
Update $tgmpa_menu_slug and $tgmpa_parent_slug from TGMPA instance |
|
setup_wizard ( ) |
Show the setup wizard |
|
setup_wizard_content ( ) |
Output the content for the current step |
|
setup_wizard_footer ( ) |
Setup Wizard Footer |
|
setup_wizard_header ( ) |
Setup Wizard Header |
|
setup_wizard_steps ( ) |
Output the steps |
|
switch_theme ( ) |
|
|
tgmpa_load ( $status ) |
|
|
upgrader_post_install ( $return, $theme ) |
After a theme update we clear the setup_complete option. This prompts the user to visit the update page again. |
|
vc_post ( $post_id = false ) |
|
|