I finally found a way to add more lines to the Sites > Infos table :
It’s a little bit ugly, but it works. I simply use the action admin_footer
to add a bunch of HTML code at the end of the page, and then use jQuery to move it to the right place.
add_action('admin_footer', 'user16975_custom_options');
function user16975_custom_options(){
global $pagenow;
if( 'site-info.php' == $pagenow ) {
?><table><tr id="user16975_custom_options">
<th scope="row">My own option</th>
<td><input type="text"/></td>
</tr></table>
<script>jQuery(function($){
$('.form-table tbody').append($('#user16975_custom_options'));
});</script><?php
}
}
The good part is that as soon as the hook will be available, I can use it without big changes in my code.
Related Posts:
- How to add Custom Blog Options to new blog setup form?
- Update blog option during create new blog?
- Which action hook to update custom field at network/site-info.php in multisite on update site info
- Plugin for editing options on multisite?
- WordPress Multisite: Adding actions to only one site
- WP Multisite: Adding pages on blog creation by default
- differences between behavior get_option vs get_site_option in multisite
- Perform action on WPMU blog deletion
- How To Provide Sub-Blogs Their Own Domain Names?
- Multisite: How to store global options vs. site options?
- How do I share plugin settings across WordPress network?
- Blog Settings import/export in WordPress Network environment
- How to make WordPress use new Upload Path settings in Multisite Setup
- Hook filter to change wp_upload_dir() path in multisite
- What is the correct form action URL for network options pages?
- Using WP CLI to set options in WP Multisite
- Add New Sub Site from the WordPress back end then in sub site options table option_value must be with https
- WPMU Hook for archive or deactivate blog?
- Make default new sites https (multisite)
- How to update_site_option for specific site within network?
- WordPress (+WPMU) Import/Export ALL settings?
- Does WordPress MultiSite use separate MySql databases?
- Hook up MU site creation
- What are Attributes used for in a WordPress Multisite?
- Multisite Network menu links not updating
- How to get option values set from all sites within a Multisite setup?
- Bulk theme settings in wordpress multisite
- What is the function to get options of the parent site of a multisite network?
- wp-config dynamic hostname in WP_HOME and WP_SITEURL
- WordPress Network admin options page: how to store options and where will they be stored?
- ERR_TOO_MANY_REDIRECTS when i config my subdomains
- Register submenu on network menu from the subsite
- Why is MySQL receiving such a large serialized object?
- How do you update a network option value in the DB via a hook
- get_site_option / update_site_option – the main site and sub sites do not share the same storage
- Multisite Equivalent of `register_setting`?
- wp option get blogname –url=my-sub-site.com returning main site option
- Multisite – each site with it’s own set of users
- What could cause wpmu_create_blog to throw “Already Installed” Error on multisite?
- Update siteurl and home in multisite subsites to https
- multisite shared settings
- Multisite and plugins options
- personal_options hook on WordPress multisite
- How to display update message only to admin
- How to set an option for all sites in my Multisite network?
- Unable to change blog language in multisite
- WordPress multisite: wp-admin 403 error
- All Subsites of a WordPress Multisite install 302 redirects to the main site
- How to have same admin login for more than one site?
- How to show another link post from another blog multisite? [closed]
- fatal Error undefined function switch_to_blog()
- How to auto create site after user sign up on multisite(network)
- Multisites with different root directory
- New domain in multisite environment
- Domain Mapping with WPMU
- How to implement this subdirectory mapping in multisite?
- Why does this multisite redirection loop vanish when I add “www.”?
- Using both subdirectory and subdomains in Multisite
- Multisite error when adding a user: already a member of this site
- How to get all pages on specific blog after switch_to_blog?
- Add a custom word to the base of a multisite url
- Multisite install in a subfolder won’t work with www
- WordPress Multisite subdomains and sharing the same upload folder
- Use a single WP installation instead of three
- REST or Alternative Method for New User && New Site && Assign User to New Site as Admin?
- Multi-site Installation in WordPress | Security & Future Migrations
- Get the latest 3 posts across the network
- MU domain mapping without using a plugin
- WordPress Multisite with thousands of blog
- WP Admin Panel for Multi-site install not loading JavaScript for one Subdomain
- WordPress Multisite FQDN Admin Access
- Delete all blogs on multisite
- How to automate adduser (on linux) when add new user site in multisite
- WordPress multisite not working
- what if one user in WPMU change the theme files?
- Activation of new Registered site fails on multisite
- Multi Site Translate Strings
- Whats the best Practice for using a different Theme for WebView Apps?
- Current blog is returning ID of 1 instead of users blog ID?
- Multisite /files/ URLs broken after server move
- Authenticate WordPress Site through another WordPress installation?
- WordPressMU: URL change and broken permalinks/links
- Blog switch wpml string translation (multi-site)
- Extended URLs created using multisite feature not loading CSS/JS
- One login for 3 WordPress installations with combined user table doesn’t work
- Migrate site from WordPress multisite to another WordPress multisite
- How To Change the URL of a WordPress Multisite
- Custom Fields as Post Type Options
- Backend freezing on certain pages of a subsite
- WordPress MU with subdomain
- Modifying get_author_posts_url() in Multisite
- Get multisite count without php?
- How do i get custom metabox data from each multisite blog?
- Do “switch_to_blog()” and “restore_current_blog()” re-run the filters?
- Multisite custom rewrite urls
- Multisite login and redirect to users main blog,
- How to create 30 new sites from an export of a master site?
- Is Multisite the RIGHT option for my case?
- Sending SMTP mail using a server with self-signed SSL
- ajax returns -1 in multisite sub domain