Support Forum
Hi,
When I publish a post, I would to add to the post title, the version of the document (metabox 'version').
How can I add the data from the 'versionning' field to the post title ?
Like this : POST_TITLE 'version'
$meta_boxes[] = [
'title' => esc_html__( 'Version', 'text-domain' ),
'id' => 'versionning',
'post_types' => ['docs'],
'context' => 'side',
'priority' => 'high',
'fields' => [
[
'id' => $prefix . 'version',
'name' => "Version",
'type' => 'text',
'step' => "0.01",
'required' => 1,
],
],
];