Make WordPress Core


Ignore:
Timestamp:
12/03/2010 12:12:44 PM (14 years ago)
Author:
westi
Message:

Actions and Filters for the Network Admin sites panel to make it easier to add custom actions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-ms-sites-list-table.php

    r16601 r16707  
    260260
    261261                            $actions['visit']   = "<span class='view'><a href='" . esc_url( get_home_url( $blog['blog_id'] ) ) . "' rel='permalink'>" . __( 'Visit' ) . '</a></span>';
    262                             $actions = array_filter( $actions );
     262
     263                            $actions = apply_filters( 'manage_sites_action_links', array_filter( $actions ), $blog['blog_id'], $blogname );
    263264                            echo $this->row_actions( $actions );
    264265                    ?>
Note: See TracChangeset for help on using the changeset viewer.