Changing Action Links

Action links can be changed by using the tml_action_url filter. This filter passes in three arguments to your callback function. The first argument is the current action URL being filtered. The second argument is the current action being used. The third argument is the instance identifier.

Let’s say you wanted to change the Register action link to a different URL:

function tml_action_url( $url, $action, $instance ) {
	if ( 'register' == $action )
	return $url;
add_filter( 'tml_action_url', 'tml_action_url', 10, 3 );