Multisite: Add a hook to the end of the Add Site form.
The `network_site_new_form` action can be used to extend the new site form. Props igmoweb, ocean90. Fixes #34739. git-svn-id: https://develop.svn.wordpress.org/trunk@36555 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ab905e41b9
commit
181f39d2e0
@ -229,7 +229,17 @@ if ( ! empty( $messages ) ) {
|
||||
<td colspan="2"><?php _e( 'A new user will be created if the above email address is not in the database.' ) ?><br /><?php _e( 'The username and password will be mailed to this email address.' ) ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php submit_button( __('Add Site'), 'primary', 'add-site' ); ?>
|
||||
|
||||
<?php
|
||||
/**
|
||||
* Fires at the end of the new site form in network admin.
|
||||
*
|
||||
* @since 4.5.0
|
||||
*/
|
||||
do_action( 'network_site_new_form' );
|
||||
|
||||
submit_button( __( 'Add Site' ), 'primary', 'add-site' );
|
||||
?>
|
||||
</form>
|
||||
</div>
|
||||
<?php
|
||||
|
Loading…
Reference in New Issue
Block a user