\PolldaddyShortcode

Class wrapper for polldaddy shortcodes

Summary

Methods
Properties
Constants
__construct()
polldaddy_shortcode()
generate_scripts()
check_infinite()
polldaddy_shortcode_infinite()
$add_script
$scripts
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$add_script

$add_script

$scripts

$scripts

Methods

__construct()

__construct()

Add all the actions & resgister the shortcode

polldaddy_shortcode()

polldaddy_shortcode( $atts)

Shortcode for polldadddy [polldaddy poll|survey|rating="123456"]

Parameters

$atts

generate_scripts()

generate_scripts()

check_infinite()

check_infinite()

If the theme uses infinite scroll, include jquery at the start

polldaddy_shortcode_infinite()

polldaddy_shortcode_infinite()

Dynamically load the .js, if needed

This hooks in late (priority 11) to infinite_scroll_render to determine a posteriori if a shortcode has been called.