Customize public/partials files
-
Hi, I’m customizing the add blog form, so users can add images in description. I have solved, but images are not associated with the post because it isn’t created when you fill the form. And I need it to delete the images if post is deleted.
I have added a code that creates a post in draft when you use the form. What I need is to change the file public/partials/profile-magic-add-blog.php to use to post id and make wp_update_post instead of wp_insert_post.
Is there anyway to add this file in the child theme to customize it, the same as themes can be customized?
Thank you.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
You must be logged in to reply to this topic.