Adding a filter for “image” meta name.
-
Hello,
The plugin is excellent. Could you consider adding a filter for the “image” meta name instead of hard-coding it?
This line
$image_id? ? ? ? ? ? ? ??=?intval(?get_term_meta(?$obj->term_id,?'image',?true?)?);
It would be great if it had a filter, perhaps something like this
$image_field = apply_filters( 'og_term_thumbnail_meta', 'image', $obj ); $image_id = intval( get_term_meta( $obj->term_id, $image_field, true ) );
Thanks.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Adding a filter for “image” meta name.’ is closed to new replies.