How to display revisions in Custom Layouts

No results found. Try again with different words?

Search must be at least 3 characters.

    Add revisions to the Custom Layouts

    Custom Layouts is a premium feature available with Astra Pro Addon plugin. To use these pro features, you need to have the Astra theme along with the Astra Pro Addon installed on your website.

    In case you wish to display revisions information in the Astra Custom Layouts use the following custom code:

    add_filter( 'astra_advanced_hooks_supports', 'astra_add_revision_cl' );
     * Add revisions support to the Custom Layout.
     * @param array $defaults Default values to the `support` param.
     * @return array
    function astra_add_revision_cl( $defaults ) {
    	$defaults[] = 'revisions';
    	return $defaults;

    Note: Add the above code into the child theme’s functions.php file.

    In the below image you can see how the revisions are displayed in the Custom Layouts section –

    Was this article helpful?
    Did not find a solution? We are here to help you succeed.

    Related Docs

    Scroll to Top

    Download is Just A Click Away!

    Be among the first to try the beta version of Astra’s Header Footer Builder. Filling the form will ensure you’ll be the first to learn about updates and features.

    Download is Just A Click Away!

    Enter your email address and be the first to learn about updates and new features.