Свойство | Тип | Описание | |
---|---|---|---|
$remote_management | array | Supported remote management services. |
Метод | Описание | |
---|---|---|
__construct ( ) | Start up. | |
add_plugin_page ( ) | Add options page. | |
create_admin_page ( ) | Options page callback. | |
ghu_tokens ( ) | Create and return settings fields for private repositories. | |
load_hooks ( ) | Load relevant action/filter hooks. | |
page_init ( ) | Register and add settings. | |
plugin_action_links ( $links ) : array | Add setting link to plugin page. | |
print_section_bitbucket_info ( ) | Print the Bitbucket repo text. | |
print_section_bitbucket_username ( ) | Print the Bitbucket user/pass text. | |
print_section_ghu_settings ( ) | Print the GitHub Updater text. | |
print_section_github_access_token ( ) | Print the GitHub Personal Access Token text. | |
print_section_github_info ( ) | Print the GitHub text. | |
print_section_gitlab_info ( ) | Print the GitLab text. | |
print_section_gitlab_token ( ) | Print the GitLab Access Token text. | |
print_section_remote_management ( ) | Print the Remote Management text. | |
remote_management_page_init ( ) | Settings for Remote Management. | |
sanitize ( array $input ) : array | Sanitize each setting field as needed. | |
token_callback_checkbox ( $args ) | Get the settings option array and print one of its values. | |
token_callback_checkbox_remote ( $args ) : boolean | void | Get the settings option array and print one of its values. | |
token_callback_text ( $args ) | Get the settings option array and print one of its values. | |
update_settings ( ) | Update settings for single site or network activated. |
Метод | Описание | |
---|---|---|
redirect_on_save ( ) | Redirect to correct Settings tab on Save. |
Метод | Описание | |
---|---|---|
display_ghu_repos ( $type ) | Write out listing of installed plugins and themes using GitHub Updater. | |
filter_options ( ) : array | mixed | Filter options so that sub-tab options are grouped in single $options variable. | |
installed_git_repos ( ) : array | Return an array of the installed repository types. | |
options_sub_tabs ( ) | Render the settings sub-tabs. | |
options_tabs ( ) | Renders setting tabs. | |
refresh_transients ( ) : boolean | Clear GitHub Updater transients. | |
reset_api_key ( ) : boolean | Reset RESTful API key. | |
settings_sub_tabs ( ) : array | Set up the Settings Sub-tabs. | |
settings_tabs ( ) : array | Define tabs for Settings page. |
public ghu_tokens ( ) |
public plugin_action_links ( $links ) : array | ||
$links | ||
Результат | array |
public print_section_bitbucket_info ( ) |
public print_section_bitbucket_username ( ) |
public print_section_ghu_settings ( ) |
public print_section_github_access_token ( ) |
public print_section_github_info ( ) |
public print_section_gitlab_info ( ) |
public print_section_gitlab_token ( ) |
public print_section_remote_management ( ) |
protected redirect_on_save ( ) |
public remote_management_page_init ( ) |
public token_callback_checkbox ( $args ) | ||
$args |
public token_callback_checkbox_remote ( $args ) : boolean | void | ||
$args | ||
Результат | boolean | void |
public token_callback_text ( $args ) | ||
$args |
public update_settings ( ) |
protected static array $remote_management | ||
Результат | array |