• I created my own checkbox in quick edit which changes one post meta value.
    It works well.
    But the checkbox doesn’t stay checked when I open quick edit next time. I have to refresh page to see changes while original wp checkboxes stay checked just after press update button.
    My current solution: is just:

    add_action( 'quick_edit_custom_box', 'display_custom_quickedit_book', 10, 2 );
    function display_custom_quickedit_book( $column_name, $post_type ) {
    if (get_post_meta($post_id , 'meta_name' , true )=="1"){
       $checked = 'checked';
    ...

    I expect that I will need to use jQuery. But what WP action/filter use to access post meta before quick edit window show?

  • The topic ‘Get current post meta value in quick edit without refresh’ is closed to new replies.