Multisite subsite expiration

Since my need is two-fold, I found these answers here with a bit more searching. To add to the Edit Site page, the best option is to add another ‘tab’ to that page. I found an answer here: Add site options UI in Multisite Sites > Infos page , which referenced a tutorial by one … Read more

Redirect to Multisite site 2 if site 1 has a setting

If you are implementing a global functionality for your entire multisite/sub-sites like what you describe, you should implement this as mu-plugins instead adding the cuztomization inside a theme file, just create a file like in wp-content/mu-plugins/GlobalConfig.php which holds the customization you want and will take effect globally, unless you want this customization for only specific … Read more

The wpmu_blogs_columns filter is not working

I tested your code, fixing the $colum_name issue and it works ok for me. add_filter(‘wpmu_blogs_columns’, function ($site_columns) { $site_columns[‘expired_Date’] = ‘Expires’; return $site_columns; }); add_action(‘manage_sites_custom_column’, function ($column_name, $blog_id) { if ( ‘expired_Date’ === $column_name ){ $current_blog_details = get_blog_details(array(‘blog_id’ => $blog_id)); // do_action( ‘qm/debug’, [‘Details:’, $current_blog_details ] ); echo ucwords($current_blog_details->last_updated); } }, 10, 2); You have … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)