Support » Fixing WordPress » Make custom post field mandatory

  • I would like to make a custom field mandatory.

    How can I add a hook so that a field is checked when I want to publish the post and prevent that from happening ‘if ( isset( $_POST[‘p2p_connections’] ) )’ (if that field has not been selected).

    Thanks in advance

  • The topic ‘Make custom post field mandatory’ is closed to new replies.