add_ping() wordpress function and usage This text is not used because the data attribute has a value

add_ping() wordpress function and usage

Home / WordPress / WordPress Wiki / add_ping() wordpress function and usage

add_ping( int|WP_Post $post_id, string|array $uri )
Add a URL to those already pinged.

Parameters

$post_id

(int|WP_Post) (Required) Post object or ID.

$uri

(string|array) (Required) Ping URI or array of URIs.

Return

(int|false) How many rows were updated.

 

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments