Support

Account

Home Forums General Issues Different behavior : delete post / bulk action delete

Helping

Different behavior : delete post / bulk action delete

  • Hi,

    I have a problem when deleting post.

    I have a hook on wp_trash_post.

    In my function, I have a get_field on a repeater type field. If I click on “trash”, the get_field returns an array with all the content. On the other hand if I use the bulk action delete, the get_field returns to me the number of row.

    I don’t know why ..

    Thanks for your help.

  • Problem solved, something edit my query.

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Different behavior : delete post / bulk action delete’ is closed to new replies.