12/28/2014 at 4:37 pm
#313591
Participant
In the connections_link.php file and within the listActions function, I duplicated the code that generates the View My Directory Entry and added the word edit to the end of the link. see code below.
I wasn’t able to get it to work in the widget so it just has another line under the View My Directory Entry
preg_match( '/href="(.*?)"/', cnURL::permalink( array( 'slug' => $entry->slug, 'return' => TRUE ) ), $matches );
$permalink = $matches[1];
echo '
';
printf( '%2$s',esc_url( $permalink ), _( 'Update My Directory Entry', 'connections_link' ));