updated plugin GP Premium
version 2.0.3
This commit is contained in:
@ -533,7 +533,7 @@ function generate_hooks_add_legacy_button() {
|
||||
if ( 'gp_elements' === $screen->post_type && 'edit' === $screen->base ) :
|
||||
?>
|
||||
<script>
|
||||
jQuery( document ).ready( function( $ ) {
|
||||
jQuery( function( $ ) {
|
||||
$( '<a href="<?php echo admin_url(); ?>themes.php?page=gp_hooks_settings" class="page-title-action legacy-button"><?php esc_html_e( "Legacy Hooks", "gp-premium" ); ?></a>' ).insertAfter( '.page-title-action:not(.legacy-button)' );
|
||||
} );
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user