Custom Fields
-
Hi, I got a problem with custom fields. I followed instruction in documentation https://getawesomesupport.com/documentation/awesome-support/custom-fields/. The code ends
add_action( ‘plugins_loaded’, ‘wpas_user_custom_fields’ );
/**
* Register all custom fields after the plugin is safely loaded.
*/
function wpas_user_custom_fields() {
/* You can start adding your custom fields safely after this line */if ( function_exists( ‘wpas_add_custom_field’ ) ) {
wpas_add_custom_taxonomy( ‘my_custom_services’, array( ‘title’ => ‘My Custom Services’, ‘label’ => ‘Service’, ‘label_plural’ => ‘Services’, ‘order’ => 1 ) );
}/* Do NOT write anything after this line */
}But, it doesn’t work.
Thank you,
MarkThe page I need help with: [log in to see the link]
- The topic ‘Custom Fields’ is closed to new replies.