render(); if ( isset( $_POST ) && ! empty( $_POST[ 'adfoxly-place-id' ] ) && is_numeric( $_POST[ 'adfoxly-place-id' ] ) ) { $places = get_option( 'adfoxly_places' ); if ( isset( $places ) && ! empty( $places ) ) { $placeSettings = $places; } else { $placeSettings = array(); } $placeSettings[ sanitize_text_field( $_POST[ 'adfoxly-place-id' ] ) ] = array( 'options' => array( // 'adfoxly-adzone-width' => sanitize_text_field( $_POST[ 'adfoxly-adzone-width' ] ), // 'adfoxly-adzone-height' => sanitize_text_field( $_POST[ 'adfoxly-adzone-height' ] ), 'adfoxly-adzone-is-rotate' => sanitize_text_field( $_POST[ 'adfoxly-adzone-is-rotate' ] ), 'adfoxly-adzone-how-rotate' => sanitize_text_field( $_POST[ 'adfoxly-adzone-how-rotate' ] ), 'adfoxly-adzone-rotate-time' => sanitize_text_field( $_POST[ 'adfoxly-adzone-rotate-time' ] ) ) ); update_option( 'adfoxly_places', $placeSettings ); } ?>
generate( array( 'type' => 'places_settings' ) ); ?> Cancel
meta_fields[ 0 ][ 'options' ] as $key => $value ): ?>
# Place Actions