piotrpress / meta-block
This WordPress plugin adds a Meta Block which renders a selected post meta field.
Installs: 36
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:wordpress-plugin
Requires
- php: >=7.4
This package is auto-updated.
Last update: 2024-10-30 18:39:21 UTC
README
This WordPress plugin adds a Meta Block which renders a selected post meta field.
Screenshot
Filter
Use piotrpress/meta_block
filter to change rendered value of the block, e.g.:
add_filter( 'piotrpress/meta_block', fn( $value, $key, $post_id ) => is_array( $value ) ? print_r( $value, true ) : $value, 10, 3 );
Requirements
PHP >= 7.4
version.