WordPress.org

Make WordPress Core

Changeset 16891


Ignore:
Timestamp:
12/13/2010 11:58:49 AM (11 years ago)
Author:
westi
Message:

Add some filters and an action to make this more flexible for plugin extension / modification. See #15793.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network/site-users.php

    r16847 r16891  
    216216</form>
    217217
     218do_action( 'network_site_users_after_list_table', '' );
     219
     220<?php if ( apply_filters( 'show_network_site_users_add_existing_form', true ) ) : ?>
    218221<h3 id="add-existing-user"><?php _e('Add Existing User') ?></h3>
    219222<p><?php _e( 'Enter the username of an existing user on this network.' ) ?></p>
     
    243246    <?php submit_button( __('Add User'), 'primary', 'add-user' ); ?>
    244247</form>
    245 
     248<?php endif; ?>
     249
     250<?php if ( apply_filters( 'show_network_site_users_add_new_form', true ) ) : ?>
    246251<h3 id="add-new-user"><?php _e('Create New User') ?></h3>
    247252<p><?php _e( 'Create a brand new user and add it to this site.' ) ?></p>
     
    279284</form>
    280285</div>
     286<?php endif; ?>
    281287<?php
    282288require('../admin-footer.php');
Note: See TracChangeset for help on using the changeset viewer.