- bw_add_new_fields_defaults() – Return all the fields to be used in an "Add new" form
- bw_add_new_format_default() – Return the default format for the "Add new" form
- bw_call_form_function() – Invoke the function to display the field in a form
- bw_call_validate_function() – Call the function to validate a field
- bw_check_noderef_types() – Check if the post_type is mentioned in post_types
- bw_default_required_marker() – Return a required field marker
- bw_determine_post_status() – Determine post_status for new post
- bw_display_message() – Display a message
- bw_display_new_post_form() – Show/process a new post form using oik
- bw_field() – Implement the [bw_field] shortcode
- bw_fields_get_dimensions() – Return the size of an attached image
- bw_fields_get_featured_image() – Return a featured image
- bw_fields_get_file_size() – Return the file size of an attached file
- bw_fields_get_google_map() – Return the Google Map for the given _post_code, _lat and _long
- bw_fields_get_thumbnail() – Return the thumbnail for the featured image
- bw_fields__help() – Implement help hook for [bw_fields]
- bw_fields__syntax() – Implement syntax hook for [bw_fields]
- bw_field_function_fields() – Format the fields (format="_")
- bw_field_has_value() – Determine if the field has a value
- bw_field_validation() – Perform field validation/sanitization based on #field_type and $field name
- bw_field__help() – Implement help hook for [bw_field]
- bw_field__syntax() – Implement syntax hook for [bw_field]
- bw_form_as_required() – Format the "Add new" form as specified by the parameters
- bw_form_field_category() – Implement bw_form_field_ hook for category
- bw_form_field_sctextarea() – Implement bw_form_field_ hook for sctextarea
- bw_form_field_virtual() – Implement bw_form_field_ hook for ‘virtual’ field
- bw_form_function_content() – Display the post content field
- bw_form_function_excerpt() – Display the post excerpt field
- bw_form_function_fields() – Display form input versions for the selected fields
- bw_form_function_title() – Display the post title field
- bw_form_function_undefined() – Display an undefined field format as a text field
- bw_form_tag() – Create the form tag
- bw_get_add_new_button_text() – Display the "Add new" button for the post type.
- bw_get_edit_post_link() – Get an edit post link for use in emails
- bw_get_field_data_arg() – Return the value from a fields #args array, setting the default if not defined
- bw_get_field_names() – Return the array of field names for the selected post
- bw_group() – Implement [bw_group] shortcode to count posts by group
- bw_group_load_class() – Return the class to handle this request
- bw_group__help() –
- bw_group__syntax() –
- bw_header_image() – Template tag to return the header image for a specific page
- bw_insert_post() – Insert a post of the specified post type with custom fields set from the validated fields
- bw_issue_message() – Issue a message for a particular field
- bw_load_callback() – Load the callback function for a virtual field
- bw_meta() – Simple wrapper to the_meta() for displaying the meta data The best way of displaying this would be to put it into a text widget then it would work regardless of the content being displayed
- bw_metadata() – Implement the [bw_fields] shortcode
- bw_new() – Implement [bw_new] shortcode to allow the creation of a new post through a simple form
- bw_new_post_form_id() – Return a unique new post form ID
- bw_new__help() – Help hook for [bw_new] shortcode
- bw_new__syntax() – Syntax hook for [bw_new] shortcode
- bw_notify_author_email() – Send an email to the post author informing them of a new entry to review
- bw_obtain_field() – Obtain and trim a field
- bw_query_field() – Query the field name for a noderef pointing to this post type
- bw_query_fieldref_value() – Return the field value for the given fieldref
- bw_query_field_type() – Query the field type given the field name
- bw_query_field_value() – Return the field value for the given post
- bw_query_field_values() – Return the field values for the given post
- bw_query_post_type() – Query the source post type which has a noderef field $meta_key referencing the current_post_type
- bw_query_post_type_and_meta_key() – Query post type and meta key for performing a bw_related
- bw_query_related_fields() – Determine what we should be listing based on the current post
- bw_query_taxonomy_value() – Determine the tag or category value to use if the given value is not a tag or category slug
- bw_related() – Implement [bw_related] shortcode
- bw_related_meta_value() – Determine a meta_value based on the field type, the specified meta_value and possibly the "meta_compare" parameter
- bw_related__help() –
- bw_related__syntax() –
- bw_return_fields() – Return the fields to be printed in the email body
- bw_return_field_select() – Return the value(s) for the select field
- bw_set_post_terms() – Insert any post terms
- bw_set_spam_fields() – Set default values for fields for spam checking
- bw_set_validated_field() – Set a post field if validated
- bw_spam_check() – Perform an Akismet spam check against the submitted form
- bw_theme_field_checkbox() – Theme a field of type checkbox
- bw_theme_field_currency() – Theme a field of type ‘currency’
- bw_theme_field_date() – Theme a field of type ‘date’
- bw_theme_field_email() – Theme a field of type ’email’ using _bw_email()
- bw_theme_field_noderef() – Theme a field of type ‘noderef’
- bw_theme_field_numeric() – Theme a field of type ‘numeric’
- bw_theme_field_sctext() – Theme a field of type ‘sctext’
- bw_theme_field_sctextarea() – Theme a field of type ‘sctextarea’
- bw_theme_field_select() – Theme a field of type ‘select’
- bw_theme_field_serialized() – Theme a serialized field
- bw_theme_field_taxonomy() – Theme a field of type "taxonomy"
- bw_theme_field_text() – Theme a field of type ‘text’
- bw_theme_field_textarea() – Theme a field of type ‘textarea’
- bw_theme_field_unserialized_array() – Display the unserialized array
- bw_theme_field_URL() – Theme a field of type ‘URL’
- bw_theme_field_virtual() – Theme a field of type ‘virtual’
- bw_validate_fields() – Validate the fields in the form
- bw_validate_form_as_required() – Validate the Add new form to match what’s expected
- bw_validate_function_content() – Validate a "post_content" field
- bw_validate_function_fields() – Validate the custom fields for the Add new form
- bw_validate_function_title() – Validate a "post_title" field
- bw_virtual_field_parm_values() – Obtain the parm values for the callback function
- oik_fields_activation() – Dependency checking for oik-fields.
- oik_fields_admin_menu() – Implement "oik_admin_menu" for oik-fields
- oik_fields_bw_metadata() – Implement "bw_metadata" action for bw_fields.
- oik_fields_check_oik_version() – Checks the required version of oik
- oik_fields_default_meta_value_meta_key() – Return the meta_value to use – either the value of the current post or the value of a post meta field of type noderef
- oik_fields_default_meta_value_noderef() – Implement "oik_default_meta_value_noderef" filter for noderef fields
- oik_fields_field_functions() – Implement "bw_field_functions" filter
- OIK_fields_groups::count_posts() – Count the posts
- OIK_fields_groups::count_value() – Count this instance
- OIK_fields_groups::count_values() – Count all the returned results
- OIK_fields_groups::end_report() –
- OIK_fields_groups::field() – Determine the field name
- OIK_fields_groups::field_type() – Determine the field type
- OIK_fields_groups::get_field_values() –
- OIK_fields_groups::get_posts() –
- OIK_fields_groups::get_post_meta() – Get a single post meta value
- OIK_fields_groups::initialise_set() –
- OIK_fields_groups::process() –
- OIK_fields_groups::report_field() –
- OIK_fields_groups::report_fields() – Report the values
- OIK_fields_groups::sort_fields() – By default sort by count DESCENDING
- OIK_fields_groups::start_report() –
- OIK_fields_groups::__construct() – Construct the object
- OIK_fields_groups_taxonomy::count_values() –
- OIK_fields_groups_taxonomy::get_field_values() –
- OIK_fields_groups_taxonomy::get_term() –
- OIK_fields_groups_taxonomy::initialise_set() –
- OIK_fields_groups_taxonomy::report_field() –
- oik_fields_init() – Implement "oik_loaded" action for oik-fields
- oik_fields_no_texturize_shortcodes() – Implement "no_texturize_shortcodes" for oik-fields
- oik_fields_oik_fields_loaded() – Implement "oik_fields_loaded" action for oik-fields
- oik_fields_plugin_loaded() – Function to initialise oik-fields when first loaded
- oik_fields_pre_form_field() – Implement "oik_pre_form_field" for oik_fields
- oik_fields_pre_theme_field() – Implement "oik_pre_theme_field" for oik-fields
- oik_fields_query_field_types() – Implement "oik_query_field_types" to return the field types supported by oik-fields
- oik_fields_shortcode_atts() – Implement "oik_shortcode_atts" for oik-fields
- oik_fields_shortcode_atts_between() – Implement "oik_shortcode_atts" for meta_compare=between
- oik_fields_validate_functions() – Implement "bw_validate_functions" filter for oik-fields
- oik_fields_validation_checkbox() – Implement ‘bw_field_validation_checkbox’ filter for oik-fields
- oik_fields_validation_email() – Implement ‘bw_field_validation_email’ filter for oik-fields
- oik_fields_validation_loaded() – Function to run when oik-fields-validation is loaded
- oik_fields_validation_text() – Implement ‘bw_field_validation_text’ filter for oik-fields
- oik_fields_validation_textarea() – Implement ‘bw_field_validation_textarea’ filter for oik-fields
- _bw_field_validation_required() – Validate a #required field as having a value
- _bw_form_functions() – Return the array of functions for displaying particular fields in a form
- _bw_form_required_field() – Set the field to required if that’s the case.
- _bw_process_new_post_form_oik() – Process a new post form submission
- _bw_show_new_post_fields() – Display the required fields in the form
- _bw_show_new_post_form_oik() – Show the "oik" new post form
- _bw_validate_functions() – Return the array of functions for validating particular fields in a form
oik-fields APIs
Application Programming Interfaces for the oik-fields plugin: