• Hi,

    I have updated my custom post type data information. details has been updated but showing error message ” Updating failed “.

    Please let me know solution.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter seema.sharma24

    (@seemasharma24)

    I am getting this when i am adding this code to add custom code in save post action.
    Here is code:

    add_action( ‘save_post’, ‘my_save_post_function’, 10, 3 );

    function my_save_post_function( $post_ID, $post, $update ) {
    echo “test”;

    }

    I want to send a mail when saving post data.So how i will use save post action?

    Please help me.

    Thread Starter seema.sharma24

    (@seemasharma24)

    can anyone help me to resolve this issue?

    Thread Starter seema.sharma24

    (@seemasharma24)

    I din’t get no reply from anyone.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘saving post data getting error Updating failed in wordpress 5.1.1’ is closed to new replies.