You appear to be a bot. Output may be restricted
Description
Determine the action hook to invoke to display the options for a particular field typeOther plugins can add their own action hooks for the field type
Usage
oik_fie_edit_field_options( $type );
Parameters
- $type
- ( mixed ) required –
Returns
voidSource
File name: oik-types/admin/oik-fields.phpLines:
1 to 17 of 17
function oik_fie_edit_field_options( $type ) { $field_options = array( "checkbox" => "oik_fie_edit_field_type_checkbox" , "currency" => "oik_fie_edit_field_type_currency" , "date" => "oik_fie_edit_field_type_date" , "email" => "oik_fie_edit_field_type_email" , "noderef" => "oik_fie_edit_field_type_noderef" , "numeric" => "oik_fie_edit_field_type_numeric" , "select" => "oik_fie_edit_field_type_select" , "text" => "oik_fie_edit_field_type_text" , "textarea" => "oik_fie_edit_field_type_textarea" , "url" => "oik_fie_edit_field_type_url" ); $action_hook = bw_array_get( $field_options, $type, null ); if ( $action_hook ) { add_action( "oik_fie_edit_field_type_$type", $action_hook ); } }View on GitHub