示例#1
0
/**
 * Echo the name of a group within the loop.
 *
 * @since 1.2.0
 * @return void
 */
function wpaam_the_field_group_name()
{
    echo wpaam_get_field_group_name();
}
示例#2
0
    ?>

		<?php 
    while (wpaam_profile_field_groups()) {
        wpaam_the_profile_field_group();
        ?>

			<?php 
        if (wpaam_field_group_has_fields()) {
            ?>

				<?php 
            if (wpaam_get_field_group_name()) {
                ?>
					<h3 class="group-title"><?php 
                echo esc_html(wpaam_get_field_group_name());
                ?>
</h3>
				<?php 
            }
            ?>

				<?php 
            if (wpaam_get_field_group_description()) {
                ?>
					<p class="group-description"><?php 
                echo esc_html(wpaam_get_field_group_description());
                ?>
<p>
				<?php 
            }