coreactivity_log_dialog_tabs
Developer Knowledge Level
This content is intended for WordPress developers, and it may require coding knowledge of WordPress, PHP, and JavaScript. Code examples provided here may contain errors or needs some additional coding. Make sure to test the code before using it on a live website!
Definition
apply_filters( "coreactivity_log_dialog_tabs", $value );
Arguments
Name
Type
Description
$value
mixed
Filtered value passed to the callback.
Returns
Return the filtered value.
Filters the tabs made available in the log details dialog. Each tab definition supplies a label and icon.
Filters a value in coreactivity_view_dialog_tabs() in core/functions.php. This hook is called at line 57 in the current plugin source.
The definition uses $value as a shorthand for the literal supplied in the source call below.
The call in the plugin source shows the argument order and the value supplied at this point.
apply_filters( 'coreactivity_log_dialog_tabs', array(
'info' => array(
'label' => __( 'Data', 'coreactivity' ),
'icon' => 'ui-calendar-pen',
),
'meta' => array(
'label' => __( 'Meta', 'coreactivity' ),
'icon' => 'ui-newspaper',
),
'location' => array(
'label' => __( 'Location', 'coreactivity' ),
'icon' => 'ui-location-map',
),
'device' => array(
'label' => __( 'Device', 'coreactivity' ),
'icon' => 'ui-tablet',
),
) );