Description
Display the table of existing field to type relationshipsThis may be extended to include custom taxonomies and categories as well
- which will require the tag or category to be a custom field name ?
Usage
oik_f2t_f2ts();Parameters
Returns
voidSource
File name: oik-types/admin/oik-f2t.phpLines:
1 to 12 of 12
function oik_f2t_f2ts() { p( "" ); bw_form(); stag( "table", "widefat" ); stag( "thead"); bw_tablerow( array( "Type", "Field", "Actions" )); etag( "thead"); _oik_f2t_f2t_table(); etag( "table" ); p( isubmit( "_oik_f2t_add_f2t", "Add relationship", null, "button-primary" ) ); etag( "form" ); }View on GitHub
Called by
Invoked by
Calls
1 to 7 of 7
- bw_form() – Start a form
- bw_tablerow() – Display a table row or table head row when $tdtag = "th"
- etag() – Output an end tag
- isubmit() – Create a submit button
- p() – Output a paragraph of translatable text
- stag() – Output an HTML opening tag
- _oik_f2t_f2t_table() – Display the table of Field to Type relationships
