bsf_nag_brainstorm_updater_multisite()

BSF Updater multisite.


Description


Source

File: admin/bsf-core/includes/helpers.php

	function bsf_nag_brainstorm_updater_multisite() {

		if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
			require_once ABSPATH . '/wp-admin/includes/plugin.php';
		}

		if ( ! is_multisite() || is_plugin_active_for_network( 'brainstorm-updater/index.php' ) ) {
			return;
		}

		echo '<div class="notice notice-error uct-notice is-dismissible"><p>';

		/* translators: %1$s: strong tag %2%s: strong tag  %3%s: anchor tag %4%s: closing anchor tag */
		sprintf( __( 'Looks like you are on a WordPress Multisite, you will need to install and network activate %1$s Brainstorm Updater for Multisite %2$s plugin. Download it from %3$s here %4$s', 'bsf' ), '<strong><em>', '<strong><em>', '<a href="http://bsf.io/bsf-updater-mu" target="_blank">', '</a>' );

		echo '</p>';
		echo '</div>';
	}


User Contributed Notes

You must log in before being able to contribute a note or feedback.