What the author says it does
Smart Custom Fields is a simple plugin for managing custom fields.
Features
- Field group loop support.
- Meta data revision support.
- Meta data preview support.
Field Types
- Text
- Textarea
- Radio
- Select
- Checkbox
- WYSIWYG editor
- Image
- File
- Related Posts
- Related Terms
- Color picker
- Date picker
- Datetime picker
- Boolean
- Message
How to get meta data ?
**The return value of each of the following methods is not sanitized. Please sanitize them if necessary. **
https://developer.wordpress.org/apis/security/escaping/
Post meta data
This method can get any meta data.
SCF::get( 'field-name' )
This method can get meta data of any group.
SCF::get( 'group-name' )
This method can get all meta data.
SCF::gets()
User meta data
This method can get any user meta data.
SCF::get_user_meta( $user_id, 'field-name' )
This method can get user meta data of any group.
SCF::get_user_meta( $user_id, 'group-name' )
This method can get all user meta data.
SCF::get_user_meta( $user_id )
Term meta data
This method can get any term meta data.
SCF::get_term_meta( $term_id, $taxonomy 'field-name' )
This method can get term meta data of any group.
SCF::get_term_meta( $term_id, $taxonomy, 'group-name' )
This method can get all term meta data.
SCF::get_term_meta( $term_id, $taxonomy )
Custom options page meta data
The opening of the plugin's own description. The full text, installation notes and changelog are on its WordPress.org page.