output saved value
-
I have this:
$string = array( 'stuff' => array( array( 'text' => __( 'Example' ), 'title' => __( 'Example Title' ) ) ) ); add_option( 'my_settings', $string ) ); <?php settings_fields( 'my_options' ); $simple = get_option( 'my_settings' ); ?> <h4><?php echo esc_attr( $simple['stuff'][$r]['text'] ); ?></h4>
and i would for “text” to be displayed from saved value….how do i do this?
- The topic ‘output saved value’ is closed to new replies.