WPForms: add several new smart tags for newly submitted CPT: ID, title and URL.
function wpf_dev_register_smarttag( $tags ) { // Key is the tag, value is the tag name. $tags[‘submitted_cpt_id’] = ‘Submitted Post Type ID’; $tags[‘submitted_cpt_url’] = ‘Submitted Post Type URL’; $tags[‘submitted_cpt_title’] = ‘Submitted Post Type Title’; return $tags; } add_filter( ‘wpforms_smart_tags’, ‘wpf_dev_register_smarttag’ );…Continue reading