add wp-rocket
This commit is contained in:
28
wp-content/plugins/wp-rocket/inc/ThirdParty/NullSubscriber.php
vendored
Normal file
28
wp-content/plugins/wp-rocket/inc/ThirdParty/NullSubscriber.php
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace WP_Rocket\ThirdParty;
|
||||
|
||||
use WP_Rocket\Event_Management\Subscriber_Interface;
|
||||
|
||||
/**
|
||||
* Null Subscriber.
|
||||
*
|
||||
* Provides a base class to extend for common Subscribers.
|
||||
*
|
||||
* @since 3.6.3
|
||||
*/
|
||||
class NullSubscriber implements Subscriber_Interface {
|
||||
|
||||
/**
|
||||
* Get an array of subscribed events.
|
||||
*
|
||||
* To be overloaded with actual subscribed events in extending Subscribers.
|
||||
*
|
||||
* @since 3.6.3
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public static function get_subscribed_events() {
|
||||
return [];
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user