pusatdata

Image Invalid Post Type error when attempting to filter and Bulk Edit posts in WordPress

Aug 7th, 2021
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. I've found a solution for me. A function from my functions.php file was in conflict with my filter admin.
  2.  
  3. I had to find where was my error, for that I just cut and paste my function one by one and test again and gain till I found my conflict function.
  4.  
  5. In my case I had to put my function in a conditional tag:
  6.  
  7.  
  8. if(!is_admin()){
  9. //Your conflict function
  10. }
  11.  
  12. So Your function will be executed only on the theme andt in your admin.
Advertisement
Add Comment
Please, Sign In to add comment