/
www
/
wwwroot
/
alo88.autos
/
wp-content
/
plugins
/
wp-content-crawler
/
app
/
Objects
/
GlobalShortCodes
/
ShortCodes
/
Upload File
HOME
<?php /** * Created by PhpStorm. * User: turgutsaricam * Date: 24/12/2018 * Time: 07:54 * * @since 1.8.0 */ namespace WPCCrawler\Objects\GlobalShortCodes\ShortCodes; use WPCCrawler\Objects\GlobalShortCodes\ShortCodes\Base\BaseElementWithSrcAttributeShortCode; use WPCCrawler\Objects\Settings\Enums\SettingKey; class IFrameGlobalShortCode extends BaseElementWithSrcAttributeShortCode { const TAG_NAME = "wpcc-iframe"; /** * @return string Tag of the short code. E.g. "wpcc-iframe". Use only lower case characters. * @since 1.8.0 */ public function getTagName() { return static::TAG_NAME; } public function getDomainListOptionName(): string { return SettingKey::WPCC_ALLOWED_IFRAME_SHORT_CODE_DOMAINS; } public function getElementTagName(): string { return 'iframe'; } }