HEX
Server: LiteSpeed
System: Linux eko108.isimtescil.net 4.18.0-477.21.1.lve.1.el8.x86_64 #1 SMP Tue Sep 5 23:08:35 UTC 2023 x86_64
User: uyarreklamcomtr (11202)
PHP: 7.4.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/uyarreklam.com.tr/httpdocs/BulkEditInterface.php.tar
httpdocs/wp-content/plugins/google-listings-and-ads/src/Admin/BulkEdit/BulkEditInterface.php000064400000002131151547244540034415 0ustar00var/www/vhosts/uyarreklam.com.tr<?php
declare( strict_types=1 );

namespace Automattic\WooCommerce\GoogleListingsAndAds\Admin\BulkEdit;

use Automattic\WooCommerce\GoogleListingsAndAds\Infrastructure\Conditional;
use Automattic\WooCommerce\GoogleListingsAndAds\Infrastructure\Service;
use WP_Post;

defined( 'ABSPATH' ) || exit;

interface BulkEditInterface extends Service, Conditional {
	public const SCREEN_COUPON = 'shop_coupon';

	/**
	 * Function that renders view of custom bulk edit fields.
	 *
	 * @param string $column_name Column being shown.
	 * @param string $post_type Post type being shown.
	 */
	public function render_view( string $column_name, string $post_type );

	/**
	 * The screen or screens on which to show the box (such as a post type, 'link', or 'comment').
	 *
	 * Default is the current screen.
	 *
	 * @return string
	 */
	public function get_screen(): string;

	/**
	 * Handle the bulk edit submission.
	 *
	 * @param int     $post_id Post ID being saved.
	 * @param WP_Post $post Post object being saved.
	 *
	 * @return int $post_id
	 */
	public function handle_submission( int $post_id, WP_Post $post ): int;
}