PHP
PHP Output Buffering with WordPress
Use this to buffer output of a function. Useful in plugin development when shortcode displays are to be created in conjunction with custom post modules. In this snippet, the shortcode contents are being called by the include and the buffer output.
Read MoreAdd shortcode with attributes
This snippet is used to create a shortcode function for wordpress. This demonstrates the use of attributes as well.
Read MoreIf user is logged in
Checks if user is logged in.
Read MoreCheck for empty array
If Else statements
Implode function example
A simple definition of the implode function.
Read MoreDo shortcode in PHP
Description
Read More