C
C
CrewCut2016-01-23 15:23:32
WordPress
CrewCut, 2016-01-23 15:23:32

How to get a list of changed data when updating a post in Wordpress?

Needed when updating a record, i.e. executing edit_post to get a list of what has been changed with the previous values. for example, changed the title, saved. and while saving, a function was executed that outputs to a text file that user No. 3 changed the title from "hello" to "bye". How to pass changes to a function?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor Vorotnev, 2016-01-24
@CrewCut

Look towards revisions.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question