FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
wp-super-cache-cli/wp-super-cache-cli.php at main · wp-cli/wp-super-cache-cli · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
wp-cli
/
wp-super-cache-cli
Public
Notifications
You must be signed in to change notification settings
Fork
15
Star
58
Code
Issues
0
Pull requests
0
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
wp-super-cache-cli
/
wp-super-cache-cli.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
13 lines (9 loc) · 243 Bytes
Breadcrumbs
wp-super-cache-cli
/
wp-super-cache-cli.php
Copy path
File metadata and controls
13 lines (9 loc) · 243 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php
$
wpsc_autoload
=
__DIR__
.
'
/vendor/autoload.php
'
;
if
(
file_exists
(
$
wpsc_autoload
) ) {
require_once
$
wpsc_autoload
;
}
if
( !
class_exists
(
'
WP_CLI
'
) ) {
return
;
}
WP_CLI
::
add_command
(
'
super-cache
'
,
'
WP_Super_Cache_Command
'
);
Back
|
FazBrowse Home
|
New Git URL