at path:
ROOT
/
wp-content
/
plugins
/
jetpack
/
modules
/
shortcodes
/
wufoo.php
run:
R
W
Run
css
DIR
2026-04-17 06:07:59
R
W
Run
images
DIR
2026-04-17 06:07:59
R
W
Run
img
DIR
2026-04-17 06:07:59
R
W
Run
js
DIR
2026-04-17 06:07:59
R
W
Run
archiveorg-book.php
3.41 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
archiveorg.php
4.02 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
archives.php
2.43 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
bandcamp.php
7.79 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
brightcove.php
8.81 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
cartodb.php
850 By
2026-04-17 06:07:59
R
W
Run
Delete
Rename
class.filter-embedded-html-objects.php
13.17 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
codepen.php
312 By
2026-04-17 06:07:59
R
W
Run
Delete
Rename
crowdsignal.php
22.04 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
dailymotion.php
15.37 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
descript.php
3.1 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
facebook.php
7.13 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
flatio.php
430 By
2026-04-17 06:07:59
R
W
Run
Delete
Rename
flickr.php
9.5 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
getty.php
7.64 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
gist.php
8.47 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
googleapps.php
9.94 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
googlemaps.php
8.07 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
googleplus.php
1.08 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
gravatar.php
6.18 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
houzz.php
967 By
2026-04-17 06:07:59
R
W
Run
Delete
Rename
inline-pdfs.php
1.19 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
instagram.php
14.61 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
kickstarter.php
2.49 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
mailchimp.php
7.19 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
medium.php
3.27 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
mixcloud.php
3.66 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
others.php
2.11 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
pinterest.php
1.84 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
presentations.php
14.57 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
quiz.php
9.2 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
recipe.php
19.04 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
scribd.php
2.49 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
shortcode-utils.php
955 By
2026-04-17 06:07:59
R
W
Run
Delete
Rename
sitemap.php
609 By
2026-04-17 06:07:59
R
W
Run
Delete
Rename
slideshare.php
3.83 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
slideshow.php
9.43 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
smartframe.php
3.74 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
soundcloud.php
8.78 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
spotify.php
3.3 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
ted.php
3.62 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
tweet.php
5.07 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
twitchtv.php
2.67 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
twitter-timeline.php
1.98 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
twitter.php
2.6 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
unavailable.php
3.33 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
untappd-menu.php
2.5 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
upcoming-events.php
1.73 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
ustream.php
3.18 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
videopress.php
470 By
2026-04-17 06:07:59
R
W
Run
Delete
Rename
vimeo.php
11.61 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
vine.php
2.66 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
vr.php
4.96 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
wufoo.php
3.43 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
youtube.php
23.54 KB
2026-04-17 06:07:59
R
W
Run
Delete
Rename
error_log
up
📄
wufoo.php
Save
<?php /** * Plugin Name: Wufoo Shortcode * Based on https://wordpress.org/plugins/wufoo-shortcode/ * * Examples: * [wufoo username="jeherve" formhash="z1x13ltw1m8jtrw" autoresize="true" height="338" header="show"] * * @package automattic/jetpack */ if ( ! defined( 'ABSPATH' ) ) { exit( 0 ); } /** * Display the Wufoo shortcode. * * @param array $atts Shortcode attributes. */ function wufoo_shortcode( $atts ) { $attr = shortcode_atts( array( 'username' => '', 'formhash' => '', 'autoresize' => true, 'height' => '500', 'header' => 'show', ), $atts ); // Check username and formhash to ensure they only have alphanumeric characters or underscores, and aren't empty. if ( ! preg_match( '/^[a-zA-Z0-9_]+$/', $attr['username'] ) || ! preg_match( '/^[a-zA-Z0-9_]+$/', $attr['formhash'] ) ) { /* * Return an error to the users with instructions if one of these params is invalid * They don't have default values because they are user/form-specific */ if ( current_user_can( 'edit_posts' ) ) { return sprintf( wp_kses( /* translators: URL to Wufoo support page. */ __( 'Something is wrong with your Wufoo shortcode. Try following the instructions <a href="%s" target="_blank" rel="noopener noreferrer">here</a> to embed a form on your site.', 'jetpack' ), array( 'a' => array( 'href' => array(), 'target' => array(), 'rel' => array(), ), ) ), 'https://help.wufoo.com/articles/en_US/kb/Embed' ); } return; } /** * Placeholder which will tell Wufoo where to render the form. */ $js_embed_placeholder = sprintf( '<div id="wufoo-%s"></div>', esc_attr( $attr['formhash'] ) ); /** * Required parameters are present. * An error will be returned inside the form if they are invalid. */ $js_embed = sprintf( '(function(){try{var wufoo_%1$s = new WufooForm();wufoo_%1$s.initialize({"userName":"%2$s","formHash":"%1$s","autoResize":%3$s,"height":"%4$d","header":"%5$s","ssl":true,"async":true});wufoo_%1$s.display();}catch(e){}})();', esc_attr( $attr['formhash'] ), esc_attr( $attr['username'] ), 'true' == $attr['autoresize'] ? 'true' : 'false', // phpcs:ignore Universal.Operators.StrictComparisons.LooseEqual absint( $attr['height'] ), 'show' === $attr['header'] ? 'show' : 'hide' ); // Embed URL. $embed_url = sprintf( 'https://%1$s.wufoo.com/embed/%2$s/', $attr['username'], $attr['formhash'] ); // Form URL. $form_url = sprintf( 'https://%1$s.wufoo.com/forms/%2$s/', $attr['username'], $attr['formhash'] ); /* * iframe embed, loaded inside <noscript> tags. */ $iframe_embed = sprintf( '<iframe height="%1$d" src="%2$s" allowTransparency="true" frameborder="0" scrolling="no" style="width:100%%;border:none;"> <a href="%3$s" target="_blank" rel="noopener noreferrer">%4$s</a> </iframe>', absint( $attr['height'] ), esc_url( $embed_url ), esc_url( $form_url ), esc_html__( 'Fill out my Wufoo form!', 'jetpack' ) ); wp_enqueue_script( 'wufoo-form', 'https://www.wufoo.com/scripts/embed/form.js', array(), JETPACK__VERSION, true ); wp_add_inline_script( 'wufoo-form', $js_embed ); /** This action is already documented in modules/widgets/gravatar-profile.php */ do_action( 'jetpack_stats_extra', 'embeds', 'wufoo' ); /** * Return embed in JS and iframe. */ return "$js_embed_placeholder<noscript>$iframe_embed</noscript>"; } add_shortcode( 'wufoo', 'wufoo_shortcode' );