Closed goldenapples closed 8 years ago
It would be good to be able to call something like Protected_Embeds\Embed::create( $html );, which should create the post, insert it into the database, and return the shortcode string for post content.
Protected_Embeds\Embed::create( $html );
:+1: create just needs implementing, which would probably return the Embed object, which you could call get_html() on
create
Embed
get_html()
:rocket:
It would be good to be able to call something like
Protected_Embeds\Embed::create( $html );
, which should create the post, insert it into the database, and return the shortcode string for post content.