includes/admin/settings/class-settings-cmb2-backward-compatibility.php 1 location
|
@@ 639-641 (lines=3) @@
|
| 636 |
|
|
| 637 |
|
$array_keys = array_keys( $sections ); |
| 638 |
|
|
| 639 |
|
foreach ( $sections as $id => $label ) { |
| 640 |
|
echo '<li><a href="' . admin_url( 'edit.php?post_type=give_forms&page=give-settings&tab=' . $this->current_tab . '§ion=' . sanitize_title( $id ) ) . '" class="' . ( $this->current_section == $id ? 'current' : '' ) . '">' . strip_tags( $label ) . '</a> ' . ( end( $array_keys ) == $id ? '' : '|' ) . ' </li>'; |
| 641 |
|
} |
| 642 |
|
|
| 643 |
|
echo '</ul><br class="clear" /><hr>'; |
| 644 |
|
} |
includes/admin/abstract-admin-settings-page.php 1 location
|
@@ 200-202 (lines=3) @@
|
| 197 |
|
// Get section keys. |
| 198 |
|
$array_keys = array_keys( $sections ); |
| 199 |
|
|
| 200 |
|
foreach ( $sections as $id => $label ) { |
| 201 |
|
echo '<li><a href="' . admin_url( 'edit.php?post_type=give_forms&page=' . $this->current_setting_page . '&tab=' . $this->id . '§ion=' . sanitize_title( $id ) ) . '" class="' . ( $current_section == $id ? 'current' : '' ) . '">' . $label . '</a> ' . ( end( $array_keys ) == $id ? '' : '|' ) . ' </li>'; |
| 202 |
|
} |
| 203 |
|
|
| 204 |
|
echo '</ul><br class="clear" /><hr>'; |
| 205 |
|
} |