Astra_Theme_Extension::version_rollback_form()
Astra Theme and Pro rollback version form.
Description
Return
(bool)
Source
File: classes/class-astra-theme-extension.php
public function version_rollback_form() { $bsf_product_id = bsf_extract_product_id( ASTRA_EXT_DIR ); if ( ! bsf_display_rollback_version_form( $bsf_product_id ) ) { return false; } $them_name = Astra_Rollback_version::astra_get_white_lable_name(); $pro_name = bsf_get_white_lable_product_name( $bsf_product_id, 'Astra Pro' ); ?> <div class="postbox"> <h2 class="hndle ast-normal-cusror"><span><?php echo esc_html__( 'Rollback Version', 'astra-addon' ); ?></span></h2> <div class="inside"> <h4 class="ast-normal-cusror"><span><?php echo esc_html( $them_name ); ?></span></h4> <?php // Display Theme Rollback version form. render_theme_rollback_form(); ?> <div class="hndle rollback-divider"></div> <h4 class="ast-normal-cusror"><span><?php echo esc_html( $pro_name ); ?></span></h4> <?php // Display Addon Rollback version form. bsf_get_version_rollback_form( $bsf_product_id ); ?> </div> </div> <?php }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
3.6.1 | Introduced. |