/
home
/
techb158
/
primomovers.ca
/
wp-content
/
plugins
/
wp-rocket
/
inc
/
Engine
/
CDN
/
Admin
/
/home/techb158/primomovers.ca/wp-content/plugins/wp-rocket/inc/Engine/CDN/Admin
mkdir
upload
Name
Size
Mode
Actions
error_log
13356
0644
edit
dl
rm
Subscriber.php
672
0644
edit
dl
rm
Edit:
/home/techb158/primomovers.ca/wp-content/plugins/wp-rocket/inc/Engine/CDN/Admin/Subscriber.php
(672B)
<?php declare(strict_types=1); namespace WP_Rocket\Engine\CDN\Admin; use WP_Rocket\Event_Management\Subscriber_Interface; class Subscriber implements Subscriber_Interface { /** * Returns an array of events that this subscriber wants to listen to. * * @return array */ public static function get_subscribed_events() { return [ 'rocket_meta_boxes_fields' => [ 'add_meta_box', 9 ], ]; } /** * Add the field to the WP Rocket metabox on the post edit page. * * @param string[] $fields Metaboxes fields. * * @return string[] */ public function add_meta_box( array $fields ) { $fields['cdn'] = __( 'CDN', 'rocket' ); return $fields; } }
Save
cmd:
run