network_site_new_form WordPress Action Hook

The network_site_new_form hook allows you to add custom content to the site creation form in a multisite installation. This is useful if you want to add extra fields or provide instructions for creating a new site. To use this hook, add the following code to your functions.php file: add_action( 'network_site_new_form', 'my_custom_content' ); function my_custom_content() { // your code goes here }

do_action( 'network_site_new_form' ) #

Fires at the end of the new site form in network admin.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.