Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

WPMU Functions/template

When creating documentation its always a good idea to start from this template and modify and add to it as you see fit, below is the wiki code and an actual rendering of what the template looks like.

Because of a wiki bug when you put % % % without spaces around the php code in the example below it causes it to still output the html code despite being in a <nowiki> tag. So when using the template remember to remove the spaces from the % % % on either side of the php code.

== Description ==
Enter a description of the function here.

== Parameters ==
{{Parameter|$name|cast|Description}}
{{Parameter|$name|cast|Description|optional|default value}}

== Return Values ==
; <tt>(cast)</tt> : description.

== Usage ==
% % %<?php function(); ?>% % %

----

[[Category:WPMU]]
[[Category:WPMU Functions]]


Description

Enter a description of the function here.

Parameters

$name
(cast) (required) Description
Default: None
$name
(cast) (optional) Description
Default: default value

Return Values

(cast) 
description.

Usage

<?php function(); ?>