null, 'save' => 'disabled', ], $attributes, 'appizy' ); $attachment_url = wp_get_attachment_url( $attributes['id'] ); $atts_id = $attributes['id']; $content = "
"; if ( is_user_logged_in() ) { if ( 'enabled' === $attributes['save'] ) { $content .= '
'; $content .= ''; $content .= '
'; } } $content .= '
'; return $content; } add_shortcode( 'appizy', 'appizy_shortcode_callback' );