Support

Account

Home Forums Front-end Issues Something broke – Clear all inputs ? Reply To: Something broke – Clear all inputs ?

  • Hi @[email protected]

    Your function expects the $post_id parameter to be set as ‘new’. You can see this here:

    function add_new_post( $post_id )
    
    {
    
        if( $post_id == 'new' ) {

    In short, you do NOT need to change the $post_id parameter.

    The easiest solution is to edit your wp_options table and remove all entries that start with new_.