gravityflow_entry_link_inbox_table

Description

The gravityflow_entry_link_inbox_table filter allows the entry link to be modified for each entry in the inbox table.

Parameters

ParameterTypeDetails
$linkStringThe entry link HTML.
$url_entryStringThe entry URL.
$entryStringThe current entry.
$argsArrayThe inbox page arguments.

Example

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?