Hello.

It is necessary to change the record immediately after publication. Ie, let's say we go to the section "Add a new one", write the text: "Hi. You're on the best blog." . Those. over text produced replacement function.

How at least something like this can be done?

    1 answer 1

    Write a plug-in processing hook save_post - save a post / page. In the office. The documentation is straightforward example of the plugin code