Skip to content

Conversation

whyisjake
Copy link

Nice to use the WordPress helper.

// sent to oEmbed endpoint
$default_atts = $this->get_default_atts();
$atts = array_merge( $default_atts, $args );
$atts = wp_parse_args( $default_atts, $args );
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent, thanks @whyisjake. Seems like the param order needs to be reversed though?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, lemme update.

@reefdog
Copy link

reefdog commented Dec 5, 2016

Awesome. I'll test this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants