mirror of
git://develop.git.wordpress.org/
synced 2025-02-15 04:04:42 +01:00
Networks and Sites: Introduce network_site_info_form
action.
The action fires at the end of the site info form in network admin, and complements the existing `network_site_new_form` action. Props virgodesign. Fixes #50704. git-svn-id: https://develop.svn.wordpress.org/trunk@49199 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5efc326c34
commit
0392a498db
@ -202,7 +202,19 @@ if ( ! empty( $messages ) ) {
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<?php submit_button(); ?>
|
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Fires at the end of the site info form in network admin.
|
||||||
|
*
|
||||||
|
* @since 5.6.0
|
||||||
|
*
|
||||||
|
* @param int $id The site ID.
|
||||||
|
*/
|
||||||
|
do_action( 'network_site_info_form', $id );
|
||||||
|
|
||||||
|
submit_button();
|
||||||
|
?>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user