API Playground - add_url_to_admin_favorites

add_url_to_admin_favorites


Adds an easily-accessible favorite page to the backend of all the moderators and admins of a site or just for a specific user. This is the equivalent of clicking on the star icon on the title of any backend page (click for full documentation)

url

Relative URL of the page to be added to user favorites, e.g. pricing-rules.php and not https://planyo.com/pricing-rules.php

title

Title of the favorite

user_id

Pass this parameter if the favorite should be personal for one of the site admins or moderators

language

by specifying a 2-letter (ISO 639-1) language code (all capital letters e.g. EN, DE, FR, ES, IT) you can change the language of the text values returned

api_key

* - påkrevd felt