laipower/wp-content/plugins/w3-total-cache/Cdnfsd_CloudFront_Page.php

19 lines
455 B
PHP
Raw Normal View History

<?php
namespace W3TC;
class Cdnfsd_CloudFront_Page {
// called from plugin-admin
static public function admin_print_scripts_performance_page_w3tc_cdn() {
wp_enqueue_script( 'w3tc_cdn_cloudfront_fsd',
plugins_url( 'Cdnfsd_CloudFront_Page_View.js', W3TC_FILE ),
array( 'jquery' ), '1.0' );
}
static public function w3tc_settings_box_cdnfsd() {
$config = Dispatcher::config();
include W3TC_DIR . '/Cdnfsd_CloudFront_Page_View.php';
}
}