coreactivity_logs_field_render_{$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_render_{$column_name}", $render, $item, $this );
Arguments
Name
Type
Description
$render
string
Rendered field content.
$item
object
The current log entry.
$this
object
The current logs table instance.
Returns
Return the filtered value.

Filters the rendered content for this log-table field. Return the content to display.

Filters a value in column_default() in core/table/Logs.php. This hook is called at line 916 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_render_' . $column_name, $render, $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