<?php
class test35770 {
	private $_counter = 0;
	public function __construct() {
		add_action( 'init', array( $this, 'init' ) );
		add_action( 'admin_notices', array( $this, 'admin_notices' ) );
	}

	public function init() {
		add_shortcode( 'content_with_image', function( $atts, $shortcode_content = '' ){

			$options = shortcode_atts( array(
				'image_position' => 'left',
				'image_size' => 'medium',
				'image_id' => '',
				'image_link' => '',
				'content_margin_top' => '0',
				'title' => '',
				'title_tag' => 'h3',
				'allow_content_below_image' => 'no',
				'margin' => '40px 0',
			), $atts );

			return 'shortcode content';

		});
	}

	public function admin_notices() {
		echo '<div class="notice notice-success"><h2>Testing 35770</h2><p>';
		echo do_shortcode( '[content_with_image image_position="left" image_id="198" content_margin_top="0" title="EXPERIENCED GUIDES" allow_content_below_image="no"]

		Shortcode content

		[/content_with_image]' );
		echo '</p></div>';
	}
}

new test35770;
