Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    You don’t want to add includes into core WP files like post.php, any of them. (There’s 3 I know of) Doing so will eventually lead to trouble. You should be able to hook the filter ‘wp_insert_post_data’ from a plugin. You are passed the new or updated data before it is inserted. You could also get the current content in the DB if it exists to generate a diff (or php equivalent) so you know which exif data to remove as well as add. Of course, you would need to search the content to extract the src url from img tags.

    Thread Starter webslinger_cc

    (@webslinger_cc)

    <<You don’t want to add includes into core WP files >>.
    Not too practical for a professed open architecture program.
    I will see about the ‘wp_insert_post_data’ process or I will come up with something more realistic.

    Easy enough to create my own posting page, just thought I would work inside the bubble if possible.

    Thank you bcworkz for your prompt and helpful reply.

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

The topic ‘include’ is closed to new replies.