Print_Footer
extends Shortcode
in package
Print the footer content for the print page.
Provides the pfic-print-footer shortcode. Includes information about the recipe, site and includes a dynamic QR code.
Tags
Table of Contents
Constants
- DEFAULTS = array('url' => '')
- The shortcode defaults.
Properties
- $attributes : array<string|int, mixed>
- The shortcode attributes.
- $instances : array<string|int, object>
- The array of instances of this class and sub-classes.
Methods
- get_instance() : object
- Creates and/or returns the instance of this class.
- get_the_content() : string
- Return the shortcode content.
- __construct() : void
- Initialise the class.
- the_content() : void
- Render the print link buttons.
Constants
DEFAULTS
The shortcode defaults.
protected
array<string|int, mixed>
DEFAULTS
= array('url' => '')
Tags
Properties
$attributes
The shortcode attributes.
protected
array<string|int, mixed>
$attributes
= array()
- This contains the defaults and the incoming attributes from the shortcode.
Tags
$instances
The array of instances of this class and sub-classes.
protected
static array<string|int, object>
$instances
= array()
Tags
Methods
get_instance()
Creates and/or returns the instance of this class.
public
static get_instance() : object
Tags
Return values
object —The instance of this class.
get_the_content()
Return the shortcode content.
public
get_the_content([array<string|int, mixed> $atts = array() ][, string $text = '' ][, string $tag = '' ]) : string
Parameters
- $atts : array<string|int, mixed> = array()
-
The shortcode atts - see $defaults.
- $text : string = ''
-
The enclosed shortcode content.
- $tag : string = ''
-
The calling shortcode tag.
Tags
Return values
string —Shortcode content markup.
__construct()
Initialise the class.
protected
__construct() : void
Tags
the_content()
Render the print link buttons.
protected
the_content() : void