activity_box_end
Action HookDescription
Fires at the end of the 'At a Glance' dashboard widget. Prior to 3.8.0, the widget was named 'Right Now'.Hook Information
File Location |
wp-admin/includes/dashboard.php
View on GitHub
|
Hook Type | Action |
Line Number | 431 |
Hook Parameters
This hook doesn't accept any parameters.
Usage Examples
Basic Usage
<?php
// Hook into activity_box_end
add_action('activity_box_end', 'my_custom_function');
function my_custom_function() {
// Your custom code here
}
Source Code Context
wp-admin/includes/dashboard.php:431
- How this hook is used in WordPress core
<?php
426 *
427 * Prior to 3.8.0, the widget was named 'Right Now'.
428 *
429 * @since 2.0.0
430 */
431 do_action( 'activity_box_end' );
432
433 $actions = ob_get_clean();
434
435 if ( ! empty( $actions ) ) :
436 ?>
PHP Documentation
<?php
/**
* Fires at the end of the 'At a Glance' dashboard widget.
*
* Prior to 3.8.0, the widget was named 'Right Now'.
*
* @since 2.0.0
*/
Quick Info
- Hook Type: Action
- Parameters: 0
- File: wp-admin/includes/dashboard.php
Related Hooks
Related hooks will be displayed here in future updates.