renameable_fields as $old_key => $new_key ) { if ( WPSEO_Validator::key_exists( $indexable_data, $old_key ) ) { $indexable_data[ $new_key ] = $indexable_data[ $old_key ]; unset( $indexable_data[ $old_key ] ); } } return $indexable_data; } }