INVP::translate_custom_field_names( string $nice_name )
Prefixes our post meta field keys so ‘make’ becomes ‘inventory_presser_make’. Careful to not prefix a key that has already been prefixed.
On This Page
Parameters Parameters
- $nice_name
-
(string) (Required) The unprefixed meta key.
Return Return
(string) The prefixed meta key.
Source Source
File: includes/class-invp.php
include_once plugin_dir_path( INVP_PLUGIN_FILE_PATH ) . 'includes/admin/class-admin-options.php'; } $settings['taxonomies'] = Inventory_Presser_Admin_Options::taxonomies_setting_default( $settings ); } return $settings; } /** * Turns the name of something into a slug that WordPress will accept when
Expand full source codeCollapse full source codeView on Github