PATH:
home
/
letacommog
/
laindinois
/
wp-content
/
plugins
/
dokan-lite
/
includes
/
Abstracts
<?php namespace WeDevs\Dokan\Abstracts; abstract class DokanShortcode { protected $shortcode = ''; public function __construct() { if ( empty( $this->shortcode ) ) { dokan_doing_it_wrong( static::class, __( '$shortcode property is empty.', 'dokan-lite' ), '3.0.0' ); } add_shortcode( $this->shortcode, [ $this, 'render_shortcode' ] ); } public function get_shortcode() { return $this->shortcode; } abstract public function render_shortcode( $atts ); }
[+]
..
[-] DokanModel.php
[edit]
[-] DokanRESTController.php
[edit]
[-] DokanBackgroundProcesses.php
[edit]
[-] DokanShortcode.php
[edit]
[-] DokanPromotion.php
[edit]
[-] DokanUpgrader.php
[edit]
[-] DokanRESTAdminController.php
[edit]