The context data. */ protected function get_post_context( int $post_id, string $content_type ): array { /** * Filter: 'wpseo_bulk_editor_post_context' - Allows add-ons to supply extra context shown alongside a post * in the bulk editor table (e.g. a product short description for WooCommerce products). * * @internal * * @param array $context The context data, empty by default. * @param int $post_id The post ID. * @param string $content_type The post type. */ $context = \apply_filters( 'wpseo_bulk_editor_post_context', [], $post_id, $content_type ); return \is_array( $context ) ? $context : []; } }