ProShell v2.0
Dashboard
Server Info
Server: 158.106.128.192
PHP: 8.2.33
home
planet5
public_html
bansibaba.com
wp-includes
2026-09-12 13:26:31
Editing: opengraph-post-type.php
Cancel
Save Changes
<?php namespace Yoast\WP\SEO\Premium\Integrations; /** * Class OpenGraph_Post_Type. */ class OpenGraph_Post_Type extends Abstract_OpenGraph_Integration { /** * The prefix for the social title option. * * @var string */ const OPTION_TITLES_KEY_TITLE = 'social-title-'; /** * The prefix for the social description option. * * @var string */ const OPTION_TITLES_KEY_DESCRIPTION = 'social-description-'; /** * The prefix for the social image ID option. * * @var string */ const OPTION_TITLES_KEY_IMAGE_ID = 'social-image-id-'; /** * The prefix for the social image URL option. * * @var string */ const OPTION_TITLES_KEY_IMAGE = 'social-image-url-'; /** * Initializes the integration. * * This is the place to register hooks and filters. * * @return void */ public function register_hooks() { \add_filter( 'Yoast\WP\SEO\open_graph_title_post', [ $this, 'filter_title_for_subtype' ], 10, 2 ); \add_filter( 'Yoast\WP\SEO\open_graph_description_post', [ $this, 'filter_description_for_subtype' ], 10, 2 ); \add_filter( 'Yoast\WP\SEO\open_graph_image_id_post', [ $this, 'filter_image_id_for_subtype' ], 10, 2 ); \add_filter( 'Yoast\WP\SEO\open_graph_image_post', [ $this, 'filter_image_for_subtype' ], 10, 2 ); } }
Upload Files
Cancel
Upload
Create New
Cancel
Create
Change Permissions
Cancel
Save
Change Date
Cancel
Save
Rename Item
Cancel
Save
Confirm Delete
Are you sure you want to delete the selected items?
Cancel
Delete