Lines:
1 to 45 of 45
<?php // (C) Copyright Bobbing Wide 2012-2017,2020 /** * Register functions for custom post types, taxonomies and fields */ /* function bw_singularize() – Singularize a plural string */ if ( !function_exists( "bw_titleify" ) ) { /* function bw_titleify() – Convert a field name to a title */ } /* function bw_ucfirst() – Return the Upper case first letter version of the string */ /* function bw_register_post_type() – Register a custom post type using as many defaults as we can */ /* function bw_default_labels() – Attempt to set labels given the ‘name’ and/or ‘singular_name’ */ /* function bw_default_taxonomy_labels() – Set default custom taxonomy labels */ /* function bw_default_taxonomy_args() – Set default args for a taxonomy */ /* function bw_register_taxonomy() – Register a custom taxonomy */ /* function bw_query_taxonomy() – Query the registered taxonomies to see if this is registered */ /* function bw_register_custom_tags() – Register a custom "tags" taxonomy */ /* function bw_register_custom_category() – Register a custom "category" taxonomy */ /* function bw_register_field_for_object_type() – Register a field named $field_name for object type $object_type */ /* function bw_register_field() – Register a field named $field_name of type $field_type with title $field_title and additional values $args */ /* function bw_list_fields() – Return a list of defined fields */ /* function bw_auth_callback */ /* function bw_maybe_register_post_meta */ /* function bw_get_field_description */ /* function bw_register_post_meta */View on GitHub View on Trac