updated plugin GP Premium version 2.5.0

This commit is contained in:
2024-10-09 12:44:25 +00:00
committed by Gitium
parent 627ec103fe
commit a35dc419bc
45 changed files with 2109 additions and 52 deletions

View File

@ -216,7 +216,7 @@ class GeneratePress_Elements_Metabox {
*/
public function register_metabox() {
// Title not translated on purpose.
add_meta_box( 'generate_premium_elements', 'Element', array( $this, 'element_fields' ), 'gp_elements', 'normal', 'high' );
add_meta_box( 'generate_premium_elements', __( 'Display Rules', 'gp-premium' ), array( $this, 'element_fields' ), 'gp_elements', 'normal', 'high' );
add_meta_box( 'generate_page_hero_template_tags', __( 'Template Tags', 'gp-premium' ), array( $this, 'template_tags' ), 'gp_elements', 'side', 'low' );
remove_meta_box( 'slugdiv', 'gp_elements', 'normal' );
}
@ -279,7 +279,7 @@ class GeneratePress_Elements_Metabox {
<li data-type="hook" <?php echo ( 'hook' === $type || 'block' === $type ) ? 'class="is-selected" ' : ''; ?>data-tab="hook-settings">
<a href="#">
<?php echo 'block' === $type ? esc_attr__( 'Display Rules', 'gp-premium' ) : esc_attr__( 'Settings', 'gp-premium' ); ?>
<?php echo 'block' === $type ? esc_attr__( 'Rules', 'gp-premium' ) : esc_attr__( 'Settings', 'gp-premium' ); ?>
</a>
</li>