05/05/2015 at 1:30 pm
#333471
Keymaster
@ Kasper
Here's how you would remove the default action and add your own:
add_action( 'plugins_loaded', 'cn_remove_actions' );
function cn_remove_actions() {
remove_action( 'cn_list_action-view_all', array( 'cnTemplatePart', 'listAction_ViewAll' ) );
}
add_action( 'cn_list_action-view_all', 'cn_view_all_link' );
function cn_view_all_link() {
echo '<span style="font-size:18px;border:1px solid #ccc;color:#0066cc;padding:4px"><a href="#">View All</a></span>';
}
Tweak as desired.