Change blimply plugin meta to false

This is probably a silly question but im new to PHP, i want to know how to change the post meta to false. For example, this is the code when a push is sent in this plugin:

get_post_meta( $post->ID, 'blimply_push_sent', true )

What i want to do is to update it to false after i save some option i created. I tried it this way but im not sure its how i am supposed to do it:

public function wl_allow_new_push() {
    $selected_article = get_option( 'wm_edition' );
    if ( ! empty( $selected_article ) ) {
        $change_blimpy_meta = update_post_meta( $selected_article, 'blimply_push_sent', false );
    }

Read more here: Change blimply plugin meta to false

Leave a Reply

Your email address will not be published. Required fields are marked *