Astra_WebFont_Loader::get_current_blog_id()

Returns the current blog id if current WordPress setup is a multisite setup.


Description


Return

(void|int) Returns integer if current WP setup is multisite.


Source

File: inc/lib/webfont/class-astra-webfont-loader.php

	public function get_current_blog_id() {

		if ( ! is_multisite() ) {
			return;
		}

		if ( ! $this->current_blog_id ) {
			$this->current_blog_id = apply_filters( 'astra_local_fonts_current_blog_id', get_current_blog_id() );
		}

		return $this->current_blog_id;
	}

Changelog

Changelog
Version Description
4.6.0 Introduced.

User Contributed Notes

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