FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
db-command/db-command.php at main · mrsdizzie/db-command · GitHub
mrsdizzie
/
db-command
Public
forked from
wp-cli/db-command
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
db-command
/
db-command.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
12 lines (9 loc) · 239 Bytes
Breadcrumbs
db-command
/
db-command.php
Copy path
File metadata and controls
12 lines (9 loc) · 239 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
<?php
if
( !
class_exists
(
'
WP_CLI
'
) ) {
return
;
}
$
wpcli_db_autoloader
=
__DIR__
.
'
/vendor/autoload.php
'
;
if
(
file_exists
(
$
wpcli_db_autoloader
) ) {
require_once
$
wpcli_db_autoloader
;
}
WP_CLI
::
add_command
(
'
db
'
,
'
DB_Command
'
);
Back
|
FazBrowse Home
|
New Git URL