public function getGlobals() {
		$globals = [
			'post' => get_post( get_the_ID() )
		];

		/**
		 * Modify globals or add custom.
		 *
		 * @param array $globals
		 */
		$globals = apply_filters( 'digster/globals', $globals );
		$globals = is_array( $globals ) ? $globals : [];

		return $globals;
	}
public function getGlobals() {
		$globals = [
			'post' => get_post( get_the_ID() )
		];

		/**
		 * Modify globals or add custom.
		 *
		 * @param array $globals
		 */
		$globals = apply_filters( 'digster/globals', $globals );
		$globals = is_array( $globals ) ? $globals : [];

		return $globals;
	}
public function getGlobals ( ) { $ globals = [ 'post' => get_post ( get_the_ID ( ) ) ] ; /**
		 * Modify globals or add custom.
		 *
		 * @param array $globals
		 */ $ globals = apply_filters ( 'digster/globals' , $ globals ) ; $ globals = is_array ( $ globals ) ? $ globals : [ ] ; return $ globals ; }
Get global variable.

@return array
Get global variable .