Skip to content

polysign/wpSwitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

wpSwitch is a simple Wordpress plugin to switch through an array. You can use it standalone if you want to. It's just a single file :)

1. initialize wpSwitch:
$obj = new wpSwitch(array( "red", "blue", "green" ));

2. use it inside a loop
echo $obj->go() . " ";

3. this will output
red blue green

About

Simple plugin to switch through an array. You can use it standalone, or as a plugin for WP.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages