コード例 #1
0
 /**
  * Initialize the renderer by declaring the supported tags.
  *
  * @since 4.0.0
  */
 public function __construct()
 {
     parent::__construct();
     $this->registered_tags = array('image' => array($this, 'render_image'), 'image_src' => array($this, 'render_image_src'), 'image_alt' => array($this, 'render_image_alt'), 'image_title' => array($this, 'render_image_title'), 'image_description' => array($this, 'render_image_description'), 'image_caption' => array($this, 'render_image_caption'), 'title' => array($this, 'render_title'), 'link' => array($this, 'render_link'), 'link_url' => array($this, 'render_link_url'), 'date' => array($this, 'render_date'), 'excerpt' => array($this, 'render_excerpt'), 'content' => array($this, 'render_content'), 'category' => array($this, 'render_category'), 'custom' => array($this, 'render_custom'));
     $this->registered_tags = apply_filters('sliderpro_posts_tags', $this->registered_tags);
 }
コード例 #2
0
 /**
  * Initialize the renderer by declaring the supported tags.
  *
  * @since 4.0.0
  */
 public function __construct()
 {
     parent::__construct();
     $this->registered_tags = array('image' => array($this, 'render_image'), 'image_src' => array($this, 'render_image_src'), 'image_title' => array($this, 'render_image_title'), 'image_description' => array($this, 'render_image_description'), 'image_link' => array($this, 'render_image_link'), 'date' => array($this, 'render_date'), 'username' => array($this, 'render_username'), 'user_link' => array($this, 'render_user_link'));
     $this->registered_tags = apply_filters('sliderpro_flickr_tags', $this->registered_tags);
 }
コード例 #3
0
 /**
  * Initialize the renderer by declaring the supported tags.
  *
  * @since 4.0.0
  */
 public function __construct()
 {
     parent::__construct();
     $this->registered_tags = array('image' => array($this, 'render_image'), 'image_src' => array($this, 'render_image_src'), 'image_alt' => array($this, 'render_image_alt'), 'image_title' => array($this, 'render_image_title'), 'image_description' => array($this, 'render_image_description'));
     $this->registered_tags = apply_filters('sliderpro_gallery_tags', $this->registered_tags);
 }