'', ), $atts ) ); ob_start(); if ( $params['href'] ) { ?>
'pinterest_board', 'title' => esc_html__( 'Pinterest Board', 'powerkit' ), 'priority' => 150, 'base' => 'powerkit_pinterest_board', 'autoregister' => false, 'fields' => array( array( 'type' => 'input', 'name' => 'href', 'label' => esc_html__( 'Pinterest board URL', 'powerkit' ), ), ), ) ); endif; /** * Pinterest Profile Shortcode * * @param array $atts User defined attributes in shortcode tag. * @param string $content Shorcode tag content. * @return string Shortcode result HTML. */ function powerkit_pinterest_profile_shortcode( $atts, $content = '' ) { $params = powerkit_shortcode_atts( shortcode_atts( array( 'href' => '', ), $atts ) ); ob_start(); if ( $params['href'] ) { ?>
'pinterest_profile', 'title' => esc_html__( 'Pinterest Profile', 'powerkit' ), 'priority' => 150, 'base' => 'powerkit_pinterest_profile', 'autoregister' => false, 'fields' => array( array( 'type' => 'input', 'name' => 'href', 'label' => esc_html__( 'Pinterest profile URL', 'powerkit' ), ), ), ) ); endif;