beans_load_document

Load the entire document.

This function is the root of Beans’s framework hierarchy. It must be called from a primary template file (e.g. page.php) and must be the last function to be called. All modifications must be done before calling this function. This includes modifying markup, attributes, fragments, etc.

beans_load_document( )

Return: (void)

Source

function beans_load_document() {

	/**
	 * Fires before the document is loaded.
	 *
	 * @since 1.0.0
	 */
	do_action( 'beans_before_load_document' );

		/**
		 * Fires when the document loads.
		 *
		 * This hook is the root of Beans's framework hierarchy. It all starts here!
		 *
		 * @since 1.0.0
		 */
		do_action( 'beans_load_document' );

	/**
	 * Fires after the document is loaded.
	 *
	 * @since 1.0.0
	 */
	do_action( 'beans_after_load_document' );

}