Skip to content
Piotr Pelczar edited this page Apr 23, 2018 · 5 revisions

Plugin's hooks

Plugin allows to bind the hooks on Word Press manner using add_filter() function.

generate_dynamic_metadata

/**
 * Filters of retrieved metadata of a post to link rewrite.
 *
 * @since 1.2.0
 *
 * @param array   $post_meta  The metadata returned from get_post_meta.
 * @param WP_Post $post       The post object.
 */
$filtered_post_meta = apply_filters( 'wpcfp_get_post_metadata', $post_meta, $post );
Clone this wiki locally