• Hi

    I can’t seem to find any info on this. How can I make a row_action (when using WP_List_Table object) conditional based upon the value of a different column in the same row?

    E.g. if column B (in row A) = ‘yes’ then the row_action for row A will be displayed, else it is hidden?

Viewing 1 replies (of 1 total)
  • Thread Starter ch1n3s3b0y

    (@ch1n3s3b0y)

    Figured it out myself. Pretty easy actually. Just put a conditional around where you create the array with your row actions in it.

Viewing 1 replies (of 1 total)
  • The topic ‘Conditional Row Action (WP_List_Table) depending on row’ is closed to new replies.