# wordpress-seo/28.6/src/bulk-editor/user-interface/social-bulk-update-route.php

Yoast SEO – Advanced SEO with real-time guidance and built-in AI, version 28.6. 56 lines.

- Page: https://pluginprobe.com/plugins/wordpress-seo/28.6/code/src/bulk-editor/user-interface/social-bulk-update-route.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/28.6/raw/src/bulk-editor/user-interface/social-bulk-update-route.php
- Modified: 2026-07-07T11:18:50+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wordpress-seo/28.6/code/src/bulk-editor/user-interface/social-bulk-update-route.php#L10-L20`.

```php
<?php

// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.
namespace Yoast\WP\SEO\Bulk_Editor\User_Interface;

use Yoast\WP\SEO\Bulk_Editor\Domain\Updates\Update_Type;

/**
 * Registers the route that applies social appearance (Open Graph title and description) updates.
 */
class Social_Bulk_Update_Route extends Abstract_Bulk_Update_Route {

	/**
	 * The prefix for this route.
	 *
	 * @var string
	 */
	public const ROUTE_PREFIX = '/bulk_editor/update_social';

	/**
	 * Gets the appearance this route updates.
	 *
	 * @return Update_Type The social appearance.
	 */
	protected function get_update_type(): Update_Type {
		return Update_Type::social();
	}

	/**
	 * Gets the prefix for this route.
	 *
	 * @return string The prefix for this route.
	 */
	protected function get_route_prefix(): string {
		return self::ROUTE_PREFIX;
	}

	/**
	 * Gets the name of the title argument in the request.
	 *
	 * @return string The name of the title argument.
	 */
	protected function get_title_arg_name(): string {
		return 'social_title';
	}

	/**
	 * Gets the name of the description argument in the request.
	 *
	 * @return string The name of the description argument.
	 */
	protected function get_description_arg_name(): string {
		return 'social_description';
	}
}

```
