Where to add url from custom field to ping on publish
-
Hi everyone,
i have a custom field for source-links. The URL inserted in this custom field should get pinged once the post gets published. I know there is a dedicated trackback field but i want the URL from the custom field automatically added.
As far as i understand,
$add_ping
is exactly that.
https://codex.www.ads-software.com/Function_Reference/add_pingMy problem is: i don’t know where to add it. I imagine if i’d write this into my theme where i display the source-link, the source gets pinged everytime the post gets visited.
So whats the proper way to add a an url to get pinged on publish?
Your help is very appreciated and merry christmas/happy holidays to everyone!
-S
- The topic ‘Where to add url from custom field to ping on publish’ is closed to new replies.