jetpack_spotify_embed_ids_callback

Call shortcode with ID provided by matching pattern.

Description

(string) jetpack_spotify_embed_ids_callback( (array) $matches ); 

Returns (string)

Parameters (1)

0. $matches (array)
The matches.

Usage

  1. if ( !function_exists( 'jetpack_spotify_embed_ids_callback' ) ) { 
  2. require_once '/modules/shortcodes/spotify.php'; 
  3.  
  4. // The matches. 
  5. $matches = array(); 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = jetpack_spotify_embed_ids_callback($matches); 
  9.  

Defined (1)

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

/modules/shortcodes/spotify.php  
  1. function jetpack_spotify_embed_ids_callback( $matches ) { 
  2. return "\n" . jetpack_spotify_shortcode( array(), $matches[1] ) . "\n";