public/wordpress/wp-content/plugins/front-end-only-users/Functions/EWD_FEUP_Widgets.php
/**
	 * Processing widget options on save
	 *
	 * @param array $new_instance The new options
	 * @param array $old_instance The previous options
	 */
Processing widget options on save
@param array $new_instance The new options
@param array $old_instance The previous options
Processing widget options on save @param array $new_instance The new options @param array $old_instance The previous options
public function update( $new_instance, $old_instance ) {
		$instance = array();
		$instance['field_name'] = ( ! empty( $new_instance['field_name'] ) ) ? strip_tags( $new_instance['field_name'] ) : '';
		$instance['plain_text'] = ( ! empty( $new_instance['plain_text'] ) ) ? strip_tags( $new_instance['plain_text'] ) : '';
		$instance['before_text'] = ( ! empty( $new_instance['before_text'] ) ) ? strip_tags( $new_instance['before_text'] ) : '';
		$instance['after_text'] = ( ! empty( $new_instance['after_text'] ) ) ? strip_tags( $new_instance['after_text'] ) : '';
		return $instance;
	}
public function update ( $ new_instance , $ old_instance ) { $ instance = array ( ) ; $ instance [ 'field_name' ] = ( ! empty ( $ new_instance [ 'field_name' ] ) ) ? strip_tags ( $ new_instance [ 'field_name' ] ) : '' ; $ instance [ 'plain_text' ] = ( ! empty ( $ new_instance [ 'plain_text' ] ) ) ? strip_tags ( $ new_instance [ 'plain_text' ] ) : '' ; $ instance [ 'before_text' ] = ( ! empty ( $ new_instance [ 'before_text' ] ) ) ? strip_tags ( $ new_instance [ 'before_text' ] ) : '' ; $ instance [ 'after_text' ] = ( ! empty ( $ new_instance [ 'after_text' ] ) ) ? strip_tags ( $ new_instance [ 'after_text' ] ) : '' ; return $ instance ; }
Processing widget options on save
 @param array $new_instance The new options
 @param array $old_instance The previous options
Processing widget options on save @param array $new_instance The new options @param array $old_instance The previous options