wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
wp_create_initial_comment_meta › WordPress Function
Seit6.9.0
Veraltetn/v
› wp_create_initial_comment_meta ( Keine Parameter )
Definiert in: |
|
Codex: |
Register initial note status meta.
Quellcode
function wp_create_initial_comment_meta() { register_meta( 'comment', '_wp_note_status', array( 'type' => 'string', 'description' => __( 'Note resolution status' ), 'single' => true, 'show_in_rest' => array( 'schema' => array( 'type' => 'string', 'enum' => array( 'resolved', 'reopen' ), ), ), ) ); }