[wp-hackers] embed shortcode

Ashish Saini ashishsainiashfame at gmail.com
Thu Sep 23 11:02:08 UTC 2010


@Otto, John

Thanks! :)

Thanks & Regards
Ashish Saini aka Ashfame
(Deserve Before You Desire)
Homepage : http://www.ashfame.com | Blog : http://blog.ashfame.com | Twitter
: http://twitter.com/ashfame


On Fri, Sep 17, 2010 at 3:01 AM, John Blackbourn
<johnbillion+wp at gmail.com<johnbillion%2Bwp at gmail.com>
> wrote:

> Note that wp_oembed_get() actually fetches the content from the source
> URL (ie. youtube.com) on every call, so you should cache the result in
> a transient or a post meta field.
>
> On Thu, Sep 16, 2010 at 10:07 PM, Otto <otto at ottodestruct.com> wrote:
> > My mistake, it's wp_oembed_get().
> >
> > The first parameter is the URL. The second is an array of arguments.
> > Available arguments:
> > discover => true/false - enables oembed discovery.
> > width => number
> > height => number - max widths and heights
> >
> > -Otto
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list