uawdijnntqw1x1x1
IP : 3.144.136.254
Hostname : c17w.hoster.ru
Kernel : Linux c17w.hoster.ru 3.10.0 #1 SMP Tue Jan 25 12:49:12 MSK 2022 x86_64
Disable Function : dl,shell_exec,exec,system,passthru,popen,proc_open,proc_nice,proc_get_status,proc_close,proc_terminate,posix_mkfifo,chown,chgrp,show_source,opcache_reset,opcache_get_configuration,opcache_get_status
OS : Linux
PATH:
/
home
/
srv221441
/
kso-don.ru
/
wp-content
/
plugins
/
presto-player
/
.
/
inc
/
Deactivator.php
/
/
<?php namespace PrestoPlayer; use PrestoPlayer\Database\Table; use PrestoPlayer\Database\Visits; use PrestoPlayer\Database\Presets; use PrestoPlayer\Database\Videos; use PrestoPlayer\Database\AudioPresets; use PrestoPlayer\Database\Webhooks; use PrestoPlayer\Models\ReusableVideo; class Deactivator { public static function uninstall() { // get plugin settings $uninstall_settings = get_option( 'presto_player_uninstall' ); // uninstall all data on delete if selected if ( isset( $uninstall_settings['uninstall_data'] ) && $uninstall_settings['uninstall_data'] ) { self::delete_data_on_uninstall(); } } public static function delete_data_on_uninstall() { // license delete_option( 'presto_player_license' ); delete_option( 'presto_player_license_data' ); // settings delete_option( 'presto_player_analytics' ); delete_option( 'presto_player_google_analytics' ); delete_option( 'presto_player_branding' ); delete_option( 'presto_player_bunny_keys' ); delete_option( 'presto_player_bunny_storage_zones' ); delete_option( 'presto_player_bunny_pull_zones' ); delete_option( 'presto_player_bunny_uid' ); delete_option( 'presto_player_instant_video_width' ); delete_option( 'presto_player_media_hub_sync_default' ); // notices delete_option( 'presto_player_dismissed_notice_nginx_rules' ); delete_option( 'presto_player_presto_player_bunny_uid' ); delete_option( 'presto_player_dismissed_notice_presto_player_reusable_notice' ); // uninstall option delete_option( 'presto_player_uninstall' ); // tables delete_option( 'presto_preset_seed_version' ); delete_option( 'presto_player_visits_database_version' ); delete_option( 'presto_player_videos_database_version' ); delete_option( 'presto_player_presets_database_version' ); delete_option( 'presto_zone_token' ); delete_option( 'presto_player_visits_upgrade_version' ); delete_option( 'presto_player_pro_update_performance' ); delete_option( 'presto_player_audio_presets_database_version' ); delete_option( 'presto_player_email_collection_database_version' ); delete_option( 'presto_audio_preset_seed_version' ); // delete our tables $table = new Table(); ( new Visits( $table ) )->uninstall(); ( new Presets( $table ) )->uninstall(); ( new AudioPresets( $table ) )->uninstall(); ( new Videos( $table ) )->uninstall(); ( new Webhooks( $table ) )->uninstall(); // delete all reusable videos $videos = new ReusableVideo(); $all_videos = $videos->all( array( 'fields' => 'ids' ) ); foreach ( $all_videos as $video_id ) { wp_delete_post( $video_id, true ); } } }
/home/srv221441/kso-don.ru/wp-content/plugins/presto-player/./inc/Deactivator.php