polldaddy

The Jetpack by WordPress.com polldaddy shortcode.


Usage

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

Defined (1)

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

/modules/shortcodes/polldaddy.php  
  1. /** 
  2. * Add all the actions & resgister the shortcode 
  3. */ 
  4. function __construct() { 
  5. if ( defined( 'GLOBAL_TAGS' ) == false ) { 
  6. add_shortcode( 'polldaddy', array( $this, 'polldaddy_shortcode' ) ); 
  7. add_filter( 'pre_kses', array( $this, 'polldaddy_embed_to_shortcode' ) ); 
  8. add_action( 'wp_enqueue_scripts', array( $this, 'check_infinite' ) ); 
  9. add_action( 'infinite_scroll_render', array( $this, 'polldaddy_shortcode_infinite' ), 11 );