Admin
Class to register the settings.
Namespace: WebberZone\Better_Search\Admin\Network
Since: 4.0.0
Source: includes/admin/network/class-admin.php line 24
Methods
__construct()
Main constructor class.
Since: 4.0.0
Line: 45
public function __construct( );
hooks()
Run the hooks.
Since: 4.0.0
Line: 56
public function hooks( );
admin_enqueue_scripts()
Enqueue admin scripts on network admin pages.
Since: 4.2.0
Line: 70
public function admin_enqueue_scripts( $hook );
| Type | Name | Description |
|---|---|---|
string | $hook | Current admin page hook. |
network_admin_menu()
Add the network admin menu.
Since: 4.0.0
Line: 101
public function network_admin_menu( );
render_page()
Render the page.
Since: 4.0.0
Line: 126
public function render_page( );
handle_copy_settings()
Handle copying Better Search settings from a source site to destination sites.
Since: 4.2.0
Line: 176
public function handle_copy_settings( );
show_settings_copied_notice()
Display a notice if settings were copied successfully.
Since: 4.2.0
Line: 234
public function show_settings_copied_notice( );