cmb2_do_oembed

Outputs the return of cmb2_get_oembed.

Description

cmb2_do_oembed( (array) $args = array() ); 

Parameters (1)

0. $args — Optional. (array) => array()
The args.

Usage

  1. if ( !function_exists( 'cmb2_do_oembed' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'maps-builder/vendor/wordimpress/maps-builder-core/includes/libraries/metabox/includes/helper-functions.php'; 
  3.  
  4. // The args. 
  5. $args = array(); 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = cmb2_do_oembed($args); 
  9.  

Defined (1)

The function is defined in the following location(s).

/vendor/wordimpress/maps-builder-core/includes/libraries/metabox/includes/helper-functions.php  
  1. function cmb2_do_oembed( $args = array() ) { 
  2. echo cmb2_get_oembed( $args );