f/wp_contactform/IMContactFormPlugin.php
/**
         * Static method to create a shortcode, allows for different contact form names if necessary
         * @method shortcode
         * @static
         * @requires wordpress content environment and filtering of content enabled;
         */
Static method to create a shortcode, allows for different contact form names if necessary
@method shortcode
@static
@requires wordpress content environment and filtering of content enabled.
Static method to create a shortcode allows for different contact form names if necessary @method shortcode @static @requires wordpress content environment and filtering of content enabled .
public static function shortcode($attr = array())
        {
            $name = '';
            if (function_exists('shortcode_atts')) {
                $attr = shortcode_atts(array('name' => ''), $attr);
                if (isset($attr['name']) && is_string($attr['name'])) {
                    $name = $attr['name'];
                }
            }
            $n = new IMContactForm($name);
            return $n->html();
        }
public static function shortcode ( $ attr = array ( ) ) { $ name = '' ; if ( function_exists ( 'shortcode_atts' ) ) { $ attr = shortcode_atts ( array ( 'name' => '' ) , $ attr ) ; if ( isset ( $ attr [ 'name' ] ) && is_string ( $ attr [ 'name' ] ) ) { $ name = $ attr [ 'name' ] ; } } $ n = new IMContactForm ( $ name ) ; return $ n -> html ( ) ; }
Static method to create a shortcode, allows for different contact form names if necessary
 @method shortcode
 @static
 @requires wordpress content environment and filtering of content enabled;
Static method to create a shortcode allows for different contact form names if necessary @method shortcode @static @requires wordpress content environment and filtering of content enabled ;