Skip to content

mattclegg/wp-cli_check-content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wp content-check

This package that implements the wp check-content command for WP-CLI.

It returns information about the content on the current wordpress installation and environment. By default (no parameters) it returns all information formatted and colourized. See wp-cli help content-check for full documentation.

Extending check-content

More 'checks' can be added dynamically by adding your own custom check ie MyCustomCheck to the folder code/checks/ and they will be included automatically in the test.

If the check requires that the HTML be valid first you can implement like;

class MyCustomCheck extends InvalidHTML
{

Otherwise you should use;

class MyCustomCheck implements checks
{

About

Check content from WP-CLI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages