Skip to content

Commit

Permalink
Endpoints were migrated to ilovepdf url
Browse files Browse the repository at this point in the history
  • Loading branch information
teamcrombie committed Jul 16, 2024
1 parent 2f2e4c3 commit b404aa4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/views/account.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@

delete_option( 'iloveimg_account' );
delete_option( 'iloveimg_proyect' );
$ilove_img_options = json_decode( get_option( 'iloveimg_options_watermark' ), true );
$ilove_img_wm_options = json_decode( get_option( 'iloveimg_options_watermark' ), true );
unset( $options['iloveimg_field_watermark_activated'] );
unset( $options['iloveimg_field_autowatermark'] );
unset( $options['iloveimg_field_resize_full'] );
update_option( 'iloveimg_options_watermark', wp_json_encode( $ilove_img_options ) );
update_option( 'iloveimg_options_watermark', wp_json_encode( $ilove_img_wm_options ) );

wp_safe_redirect( admin_url( 'admin.php?page=iloveimg-watermark-admin-page' ) );
exit();
Expand Down

0 comments on commit b404aa4

Please sign in to comment.