Skip to content

WPBP/FakePage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FakePage

License Downloads

Simple class that generate a fake page on the fly

Install

composer require wpbp/fakepage:dev-master

composer-php52 supported.

Example

new Fake_Page(
	array(
    'slug' => 'fake_slug',
    'post_title' => 'Fake Page Title',
    'post_content' => 'This is the fake page content'
	)
);