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.


Parameters Parameters

$nice_name

(string) (Required) The unprefixed meta key.


Top ↑

Return Return

(string) The prefixed meta key.


Top ↑

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