Метод |
Описание |
|
add_events ( array $stops ) |
Hook events by name and priority from array. |
|
admin_bar_menu ( WP_Admin_Bar $wp_admin_bar ) |
Render interface and add to the toolbar. |
|
after_setup_theme ( ) |
When theme is done possibly add vendor-specific events. |
|
enqueue_scripts ( ) |
|
|
http_api_debug ( array | WP_Error $response, string $type, object $class, array $args, string $url ) : mixed |
Capture end time of HTTP request |
|
init ( ) |
|
|
on_load ( ) |
Start Stopwatch and timing plugin load immediately, then set up core events and needed hooks. |
|
pre_http_request ( boolean $false, array $args, string $url ) : boolean |
Capture start time of HTTP request |
|
pre_update_option_active_plugins ( array $plugins ) : array |
Reorder active plugins so Laps is first and starts timing load early. |
|
query ( string $query ) : string |
Capture SQL queries start times |
|
tick ( mixed $input = null ) : mixed |
Mark action for the event on Stopwatch. |
|