WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Fristly, sorry for my bad english.
Secondly, I can't find a solution for my problem since 2 weeks. It's a simple things but I can't find how to do it.
I explain my problem :
I got 2 custom taxonomies call in a function "my_custom_init" :

register_taxonomy( 'directors', 'video', array( 'hierarchical' => true, 'label' => 'Directors', 'query_var' => true, 'rewrite' => true ) );
register_taxonomy( 'clients', 'video', array( 'hierarchical' => true, 'label' => 'Clients', 'query_var' => true, 'rewrite' => true ) );  

I would like to edit the link "View" like on the print screen :

I think I have to use the post_row_actions to edit it but I can't get the taxonomy.
If you know how to solve my problem, thanks in advance for your help.


I made this for my categories "post" and "video" and it works ! But I can't do the same for my custom taxonomies :/
I don't really understand I tried but doesn't work :S

add_filter( 'post_row_actions', 'remove_row_actions', 10, 1);
function remove_row_actions( $actions )
    if( get_post_type() === 'post' )
        unset( $actions['view'] );

    if( get_post_type() === 'page' )
        unset( $actions['view'] ); //doesn't work ?

    if( get_post_type() === 'video' )
        unset( $actions['view'] );

    // Adding a custom link and passing the post id with it
    $permalink = get_permalink();
    $permalink = explode(".tv", $permalink);
    $actions['customedit'] = "<a href=\"/#$permalink[1]\" target=\"blank\">View & Get Url</a>";

    return $actions;
share|improve this question
up vote 0 down vote accepted

I think you can use directors_row_actions & clients_row_actions.

Also you can use tag_row_actions which is called for every taxonomy. It accepts 2 parameters, first being the actions & 2nd being the term object. You can use this term object to filter out which actions you want to change

share|improve this answer
I made an edit on my post :) – Glou Oct 18 '12 at 15:05
did you try replacing post_row_actions with directors_row_actions & tag_row_actions? – Mridul Aggarwal Oct 18 '12 at 15:26
Thanks a lot it works find ! :) – Glou Oct 18 '12 at 15:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.