Property | Type | Description | |
---|---|---|---|
$original_shortcode | mixed | Callback originally registered for gallery shortcode. |
Method | Description | |
---|---|---|
disable ( ) | ||
enable ( ) | ||
gallery_shortcode ( array $args ) : string | Fetch and return cached gallery. | |
get_attachment_ids ( ) : array | Retrieve array of attachment IDs for current post. |
Method | Description | |
---|---|---|
callback ( string $name, array $args ) : string | Set up post context and generate gallery output. |
public gallery_shortcode ( array $args ) : string | ||
$args | array | Gallery arguments. |
return | string |
public get_attachment_ids ( ) : array | ||
return | array |
protected mixed $original_shortcode | ||
return | mixed |