You appear to be a bot. Output may be restricted
Description
Return the field function to invokeReturns the function to invoke to format the field
A | Field | Other atts | Notes |
---|---|---|---|
T | Title | This is NOT a link | |
I | Image | thumbnail= | |
F | Featured image | thumbnail= | Currently same as I-Image |
C | Content | ||
E | Excerpt | ||
R | Read more | readmore= | block – using art_button |
M | Read more | readmore= | inline – class “bw_more” |
L | Link | ||
A | Attachment(s) | Display links to Attachments | |
/ | div | Dummy | |
space | Add a | ||
c | categories | post categories only | |
o | comments | ||
t | tags | post tags only | |
a | author | ||
d | date | ||
e | edit | ||
_ | Fields | fields= | only works when oik-fields enabled |
- ! span Americans know this as bang, sounds like span
- + span Dummy <span></span>
- span
- $ Price
- ? Caption For attachments
- S Status Displays the post_status
- Y tYpe Displays the post_type
- P Parent Displays the post_parent as a link
- B block Creates an Artisteer block
- , separator reserved for field name separator when the full field names are used
- = ' " [ ]
- </code>
Usage
bw_field_function( $abbrev );
Parameters
- $abbrev
- ( mixed ) required –
Returns
voidSource
File name: oik/includes/bw_formatter.phpLines:
1 to 5 of 5
function bw_field_function( $abbrev ) { $fields = _bw_field_functions(); $function = bw_array_get( $fields, $abbrev, "bw_field_function_undefined" ); return( $function ); }View on GitHub View on Trac