Server : LiteSpeed
System : Linux quebec.us.hostns.io 5.14.0-687.42.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 27 11:55:12 EDT 2026 x86_64
User : gazetufm ( 1431)
PHP Version : 8.1.35
Disable Function : NONE
Directory :  /home2/gazetufm/leonora.al/wp-content/plugins/kirki/libraries/framework/Contracts/

📁 Create New:
⬆️ Upload File:
Current Dir [ Writable ] Root [ Writable ]


OR Upload from URL:
URL: Save as:

📄 File: Shortcode.php

Path: //home2/gazetufm/leonora.al/wp-content/plugins/kirki/libraries/framework/Contracts/Shortcode.php

Size: 864 B

Permissions: 0644

<?php

/**
 * Contract for WordPress shortcode handlers.
 * Requires a name accessor and a callback matching the add_shortcode signature.
 * Standardizes shortcode registration across the plugin.
 *
 * @package    Framework
 * @subpackage Contracts
 * @since      1.0.0
 */
namespace Kirki\Framework\Contracts;

\defined('ABSPATH') || exit;
interface Shortcode
{
    /**
     * Get the shortcode name.
     *
     * @return string
     *
     * @since 1.0.0
     */
    public function get_name();
    /**
     * The shortcode callback function.
     *
     * @param mixed $attributes The attributes array.
     * @param string $content The content.
     * @param string $shortcode_tag The shortcode tag.
     *
     * @return string
     *
     * @since 1.0.0
     */
    public function callback($attributes, string $content = '', string $shortcode_tag = '');
}

← Back to Directory Edit File 🔒 Chmod

WP File Manager