coreactivity_logs_field_actions_{$column_name}

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_logs_field_actions_{$column_name}", $actions, $item, $this );
Arguments
Name
Type
Description
$actions
array
Row-action links for the field.
$item
object
The current log entry.
$this
object
The current logs table instance.
Returns
Return the filtered value.

Filters the row-action links associated with this log-table field. Return the array of actions.

Filters a value in column_default() in core/table/Logs.php. This hook is called at line 917 in the current plugin source.

The name contains dynamic components. Replace each placeholder with the value used at runtime; register the callback for the resulting hook name.

The call in the plugin source shows the argument order and the value supplied at this point.

apply_filters( 'coreactivity_logs_field_actions_' . $column_name, $actions, $item, $this );
Rate this reference
0
0
3

You are not allowed to rate this post.

Leave a Comment

0
0
0
0
0
0
0
0
0