function register_yoast_seo_rest_fields() { // Register Yoast SEO Title for access in REST API register_rest_field( 'post', '_yoast_wpseo_title', [ 'get_callback' => 'get_yoast_seo_rest_field', 'update_callback' => 'update_yoast_seo_rest_field', 'schema' => null, ]); // Register Yoast SEO Meta Description for access in REST API register_rest_field( 'post', '_yoast_wpseo_metadesc', [ 'get_callback' => 'get_yoast_seo_rest_field', 'update_callback' => 'update_yoast_seo_rest_field', 'schema' => null, ]); } add_action( 'rest_api_init', 'register_yoast_seo_rest_fields' ); function get_yoast_seo_rest_field( $object, $field_name, $request ) { return get_post_meta( $object['id'], $field_name, true ); } function update_yoast_seo_rest_field( $value, $post, $field_name, $request, $object_type ) { if ( ! $value || ! is_string( $value ) ) { return; } return update_post_meta( $post->ID, $field_name, sanitize_text_field( $value ) ); }

Our latest news: Discover Microsoft Fabric. Read

We are looking for a detail-oriented and highly skilled Data Analyst to join our team. As a Data Analyst, you will be responsible for collecting, analyzing, and interpreting complex data sets to provide valuable insights and recommendations. Your expertise in designing databases, running queries, and generating reports will be crucial in supporting our business decision-making processes.

If you have a passion for transforming raw data into meaningful information, thrive in a fast-paced environment, and have a keen eye for detail, we invite you to apply for this exciting opportunity. Join our team and contribute to our organization’s growth and success. Get in touch with us today!