golden hour
/var/www/html/wp-content/plugins/the-events-calendar/src/Tribe
⬆️ Go Up
Upload
File/Folder
Size
Actions
API.php
27.83 KB
Del
OK
Adjacent_Events.php
9.13 KB
Del
OK
Admin
-
Del
OK
Admin_List.php
14.59 KB
Del
OK
Aggregator
-
Del
OK
Aggregator.php
16.7 KB
Del
OK
Ajax
-
Del
OK
Amalgamator.php
8.86 KB
Del
OK
Assets.php
19.96 KB
Del
OK
Backcompat.php
2.79 KB
Del
OK
Bar.php
3.28 KB
Del
OK
Capabilities.php
5.56 KB
Del
OK
Collections
-
Del
OK
Constants.php
1.64 KB
Del
OK
Cost_Utils.php
4.81 KB
Del
OK
Customizer
-
Del
OK
Dates
-
Del
OK
Deactivation.php
1.31 KB
Del
OK
Default_Values.php
793 B
Del
OK
Editor
-
Del
OK
Editor.php
16.92 KB
Del
OK
Embedded_Maps.php
5.37 KB
Del
OK
Event_Cleaner.php
2.59 KB
Del
OK
Event_Cleaner_Scheduler.php
5.95 KB
Del
OK
Event_Tickets
-
Del
OK
Featured_Events
-
Del
OK
Featured_Events.php
1.75 KB
Del
OK
Front_Page_View.php
9.87 KB
Del
OK
Google
-
Del
OK
Gutenberg.php
2.71 KB
Del
OK
I18n.php
10.51 KB
Del
OK
Ignored_Events.php
31.25 KB
Del
OK
Importer
-
Del
OK
Integrations
-
Del
OK
JSON_LD
-
Del
OK
Linked_Posts
-
Del
OK
Linked_Posts.php
43.79 KB
Del
OK
List_Widget.php
7.64 KB
Del
OK
Main.php
195.46 KB
Del
OK
Meta
-
Del
OK
Models
-
Del
OK
Options_Exception.php
890 B
Del
OK
Organizer.php
22.22 KB
Del
OK
Plugin_Register.php
675 B
Del
OK
Post_Exception.php
859 B
Del
OK
Privacy.php
1.31 KB
Del
OK
Query.php
54.4 KB
Del
OK
REST
-
Del
OK
Recurring_Event_Cleanup.php
2.13 KB
Del
OK
Repositories
-
Del
OK
Revisions
-
Del
OK
Rewrite.php
30.31 KB
Del
OK
Service_Providers
-
Del
OK
Shortcode
-
Del
OK
Template
-
Del
OK
Template_Factory.php
17.79 KB
Del
OK
Templates.php
24.04 KB
Del
OK
Timezones.php
6.37 KB
Del
OK
Updater.php
8.13 KB
Del
OK
Utils
-
Del
OK
Validator
-
Del
OK
Venue.php
22.95 KB
Del
OK
Views
-
Del
OK
iCal.php
26.37 KB
Del
OK
Edit: Deactivation.php
<?php class Tribe__Events__Deactivation extends Tribe__Abstract_Deactivation { /** * Set a flag to indicate that the plugin has been deactivated * and needs to be reinitialized if it is reactivated */ private function set_flags() { // Ensure the class is loaded before using it, we're in shutdown context and common autoloader might be unset. require_once __DIR__ . '/Updater.php'; $updater = new Tribe__Events__Updater( Tribe__Main::VERSION ); $updater->reset(); } /** * Remove event-related capabilities */ private function clear_capabilities() { // Ensure the class is loaded before using it, we're in shutdown context and common autoloader might be unset. require_once __DIR__ . '/Capabilities.php'; $capabilities = new Tribe__Events__Capabilities(); $capabilities->remove_all_caps(); } /** * The deactivation routine for a single blog */ protected function blog_deactivate() { $this->set_flags(); $this->clear_capabilities(); $this->flush_rewrite_rules(); /** * Fires an action during the-events-calendar deactivation */ do_action( 'tribe_events_blog_deactivate' ); } /** * An abridged version that is less DB intensive. * * @see wp_is_large_network() and the 'wp_is_large_network' filter */ protected function short_blog_deactivate() { $this->set_flags(); } }
Save