Метод | Описание | |
---|---|---|
__construct ( ) | Hook methods in | |
add_move_blog_link ( array $actions = [], integer $blog_id ) | Add the Move action to Sites page on WP >= 3.1 | |
admin_menu ( ) | Add the My Networks page to the site-level dashboard | |
enqueue_scripts ( $page = '' ) | Add JavaScript on networks admin pages only | |
network_admin_menu ( ) | Add Networks menu and entries to the Network-level dashboard | |
network_admin_menu_separator ( ) | Add a separator between the 'Networks' and 'Dashboard' menu items on the Network dashboard | |
network_admin_notices ( ) | Action feedback | |
page_edit_network ( ) | New network creation dashboard page | |
page_my_networks ( ) | Output the my networks page | |
route_pages ( ) | Network listing and editing functions are routed through this function | |
route_save_handlers ( ) | Save any form submissions |
Метод | Описание | |
---|---|---|
admin_url ( $args = [] ) : string | Return the URL of the Networks page | |
check_nonce ( ) | Check the nonce | |
handle_add_network ( ) | Handle the request to add a new network | |
handle_delete_network ( ) | Handle the request to delete a network | |
handle_delete_networks ( ) | Handle the request to helete many networks | |
handle_move_site ( ) | Handle the request to move a site | |
handle_reassign_sites ( ) | Handle the request to reassign sites | |
handle_redirect ( array $args = [] ) | Handle redirect after page submit | |
handle_update_network ( ) | Handle the request to update a network | |
page_all_networks ( ) | Network listing dashboard page | |
page_delete_network ( ) | Output the delete network page | |
page_delete_networks ( ) | Output the delete multiple networks page | |
page_move_site ( ) | Dashboard screen for moving sites -- accessed from the "Sites" screen | |
set_feedback_strings ( ) | Feedback strings |
public add_move_blog_link ( array $actions = [], integer $blog_id ) | ||
$actions | array | Array of action links |
$blog_id | integer | Blog ID in list table |
public enqueue_scripts ( $page = '' ) |
public page_edit_network ( ) |
public route_pages ( ) |