audio

Add all the actions & resgister the shortcode.


Usage

  1. // basic usage 
  2. echo do_shortcode('[audio]'); 
  1. // variable usage 
  2. $result = do_shortcode('[audio]'); 
  3. echo $result;  

Defined (1)

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

/modules/shortcodes/audio.php  
  1.  
  2. /** 
  3. * Add all the actions & resgister the shortcode 
  4. */ 
  5. function __construct() { 
  6. add_shortcode( 'audio', array( $this, 'audio_shortcode' ) ); 
  7. add_action( 'wp_enqueue_scripts', array( $this, 'check_infinite' ) ); 
  8. add_action( 'infinite_scroll_render', array( $this, 'audio_shortcode_infinite' ), 11 ); 
  9.  
  10. /**