WP_Block_Metadata_Registry::get_wpinc_dir(): string

In this article

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Gets the WordPress ‘wp-includes’ directory path.

Return

string The WordPress 'wp-includes' directory path.

Source

private static function get_wpinc_dir() {
	if ( ! isset( self::$wpinc_dir ) ) {
		self::$wpinc_dir = wp_normalize_path( ABSPATH . WPINC );
	}
	return self::$wpinc_dir;
}

Changelog

VersionDescription
6.7.0Introduced.

User Contributed Notes

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