Closed ryelle closed 4 months ago
The "heart" button:
Submits a request to https://api.wordpress.org/themes/theme-directory/1.0/?action=add-favorite&theme=[theme]&_wpnonce=[nonce]
https://api.wordpress.org/themes/theme-directory/1.0/?action=add-favorite&theme=[theme]&_wpnonce=[nonce]
Follow advice from https://github.com/WordPress/wordpress.org/issues/266
Maybe try to make something that can be used in both themes + plugins?
The "heart" button:
Submits a request to
https://api.wordpress.org/themes/theme-directory/1.0/?action=add-favorite&theme=[theme]&_wpnonce=[nonce]
Follow advice from https://github.com/WordPress/wordpress.org/issues/266
Maybe try to make something that can be used in both themes + plugins?