paulbunyannet / wordpress-helper-shortcodes
Helper shortcodes used from project to project.
Installs: 134
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/paulbunyannet/wordpress-helper-shortcodes
Requires (Dev)
- fzaninotto/faker: ^1.6
- mockery/mockery: ^0.9.9
- phpunit/phpunit: ^4.8
- symfony/var-dumper: ^3.2
This package is auto-updated.
Last update: 2025-10-29 02:56:16 UTC
README
Helper shortcodes used from project to project
Shortcodes
[env]
Get an environment variable.
Usage
[env ENVIRONMENT_VAR_NAME]
[bloginfo]
Get blog info.
Properties
| Property | Default | ||
|---|---|---|---|
| key | Required | What property to get from the blog. See https://developer.wordpress.org/reference/functions/get_bloginfo/#description for all the options. | name | 
| filter | Optional | What filter to use on the returned value | raw | 
Usage
[bloginfo key="url" filter="raw"]
\\ return url of the site with the raw filter