$title, 'content' => $elm_id, 'options' => $options ); if ( is_callable( $callback ) ) add_action( 'wpcf7_admin_footer', $callback ); return true; } function wpcf7_tag_generators() { global $wpcf7_tag_generators; $taggenerators = array(); foreach ( (array) $wpcf7_tag_generators as $name => $tg ) { $taggenerators[$name] = array_merge( (array) $tg['options'], array( 'title' => $tg['title'], 'content' => $tg['content'] ) ); } return $taggenerators; } ?>