=> \is_rtl(), 'linkParams' => $this->short_link_helper->get_query_params(), 'pluginUrl' => \plugins_url( '', \WPSEO_FILE ), 'wistiaEmbedPermission' => $this->wistia_embed_permission_repository->get_value_for_user( $user_id ), ] ); $this->admin_asset_manager->enqueue_style( 'introductions' ); } /** * Updates the user metadata to have "seen" the introductions. * * @param int $user_id The user ID. * @param array $introductions The introductions. * * @return void */ private function update_user_introductions( $user_id, $introductions ) { $metadata = $this->user_helper->get_meta( $user_id, '_yoast_wpseo_introductions', true ); if ( ! \is_array( $metadata ) ) { $metadata = []; } foreach ( $introductions as $introduction ) { $metadata[ $introduction['id'] ] = true; } $this->user_helper->update_meta( $user_id, '_yoast_wpseo_introductions', $metadata ); } }
Warning: Cannot modify header information - headers already sent by (output started at /htdocs/wp-content/plugins/wordpress-seo/src/introductions/user-interface/introductions-integration.php:1) in /htdocs/wp-includes/pluggable.php on line 1450

Warning: Cannot modify header information - headers already sent by (output started at /htdocs/wp-content/plugins/wordpress-seo/src/introductions/user-interface/introductions-integration.php:1) in /htdocs/wp-includes/pluggable.php on line 1453