WordPress.org

Ready to get started?Download WordPress

Forums

Return error to user (1 post)

  1. lucasmezencio
    Member
    Posted 4 years ago #

    Hi guys! How are you? I'm a newbie here but I develop for WP since a long time ago.
    I'm from Brasil, my english is very bad. =/

    I've created a plugin that's used during a post publish.
    My plugin, is to upload 2 images through a function that returns true or false.

    When the upload of the image is done correctly, the function returns true otherwise it returns false.
    However, when the function returns false, I can not return an error to the user or, for example, mark the post as a draft or something.
    Gostaria de saber se alguém aqui poderia me ajudar nessa questão.

    I appreciate the attention and understanding!

    Sincerely, Lucas Mezêncio

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags