wpas_submit_post? hook
-
I wanted to share an error in the Publicize documentation on this page.
https://vip.wordpress.com/documentation/customizing-publicize-sharing-behavior/The example reads:
if ( 'twitter' == $name && '@vipwpnews' == $connection->meta['display_name'] ) {
But really it should be:
if ( 'twitter' == $name && '@vipwpnews' == $connection['meta']['display_name'] ) {
Hope this helps someone.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘wpas_submit_post? hook’ is closed to new replies.