Skip to content

Commit 0392a49

Browse files
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
1 parent 5efc326 commit 0392a49

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

src/wp-admin/network/site-info.php

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,19 @@
202202
</td>
203203
</tr>
204204
</table>
205-
<?php submit_button(); ?>
205+
206+
<?php
207+
/**
208+
* Fires at the end of the site info form in network admin.
209+
*
210+
* @since 5.6.0
211+
*
212+
* @param int $id The site ID.
213+
*/
214+
do_action( 'network_site_info_form', $id );
215+
216+
submit_button();
217+
?>
206218
</form>
207219

208220
</div>

0 commit comments

Comments
 (0)