Description
The gravityflow_entry_link_inbox_table filter allows the entry link to be modified for each entry in the inbox table.
Parameters
Parameter | Type | Details |
---|---|---|
$link | String | The entry link HTML. |
$url_entry | String | The entry URL. |
$entry | String | The current entry. |
$args | Array | The inbox page arguments. |
Example
Enable the inbox link to be opened in a new window
1 2 3 4 5 | add_filter( 'gravityflow_entry_link_inbox_table' , 'customize_entry_link' , 10, 4 ); function customize_entry_link( $link , $url_entry , $entry , $args ) { $link = "<a href='%s' target='_new'>%s</a>" ; return $link ; } |
Placement
This code can be used in the functions.php file of the active theme, a custom functions plugin, a custom add-on, or with a code snippets plugin.
See also the PHP section in this article: Where Do I Put This Code?