Current Path : /storage/v11800/affypharma/public_html/wp-includes/

Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64

Upload File :
Current File : /storage/v11800/affypharma/public_html/wp-includes/class-wp-post-type.php
<?php
/**
 * Post API: WP_Post_Type class
 *
 * @package WordPress
 * @subpackage Post
 * @since 4.6.0
 */

/**
 * Core class used for interacting with post types.
 *
 * @since 4.6.0
 *
 * @see register_post_type()
 */
#[AllowDynamicProperties]
final class WP_Post_Type {
	/**
	 * Post type key.
	 *
	 * @since 4.6.0
	 * @var string $name
	 */
	public $name;

	/**
	 * Name of the post type shown in the menu. Usually plural.
	 *
	 * @since 4.6.0
	 * @var string $label
	 */
	public $label;

	/**
	 * Labels object for this post type.
	 *
	 * If not set, post labels are inherited for non-hierarchical types
	 * and page labels for hierarchical ones.
	 *
	 * @see get_post_type_labels()
	 *
	 * @since 4.6.0
	 * @var stdClass $labels
	 */
	public $labels;

	/**
	 * Default labels.
	 *
	 * @since 6.0.0
	 * @var (string|null)[][] $default_labels
	 */
	protected static $default_labels = array();

	/**
	 * A short descriptive summary of what the post type is.
	 *
	 * Default empty.
	 *
	 * @since 4.6.0
	 * @var string $description
	 */
	public $description = '';

	/**
	 * Whether a post type is intended for use publicly either via the admin interface or by front-end users.
	 *
	 * While the default settings of $exclude_from_search, $publicly_queryable, $show_ui, and $show_in_nav_menus
	 * are inherited from public, each does not rely on this relationship and controls a very specific intention.
	 *
	 * Default false.
	 *
	 * @since 4.6.0
	 * @var bool $public
	 */
	public $public = false;

	/**
	 * Whether the post type is hierarchical (e.g. page).
	 *
	 * Default false.
	 *
	 * @since 4.6.0
	 * @var bool $hierarchical
	 */
	public $hierarchical = false;

	/**
	 * Whether to exclude posts with this post type from front end search
	 * results.
	 *
	 * Default is the opposite value of $public.
	 *
	 * @since 4.6.0
	 * @var bool $exclude_from_search
	 */
	public $exclude_from_search = null;

	/**
	 * Whether queries can be performed on the front end for the post type as part of `parse_request()`.
	 *
	 * Endpoints would include:
	 *
	 * - `?post_type={post_type_key}`
	 * - `?{post_type_key}={single_post_slug}`
	 * - `?{post_type_query_var}={single_post_slug}`
	 *
	 * Default is the value of $public.
	 *
	 * @since 4.6.0
	 * @var bool $publicly_queryable
	 */
	public $publicly_queryable = null;

	/**
	 * Whether to generate and allow a UI for managing this post type in the admin.
	 *
	 * Default is the value of $public.
	 *
	 * @since 4.6.0
	 * @var bool $show_ui
	 */
	public $show_ui = null;

	/**
	 * Where to show the post type in the admin menu.
	 *
	 * To work, $show_ui must be true. If true, the post type is shown in its own top level menu. If false, no menu is
	 * shown. If a string of an existing top level menu ('tools.php' or 'edit.php?post_type=page', for example), the
	 * post type will be placed as a sub-menu of that.
	 *
	 * Default is the value of $show_ui.
	 *
	 * @since 4.6.0
	 * @var bool|string $show_in_menu
	 */
	public $show_in_menu = null;

	/**
	 * Makes this post type available for selection in navigation menus.
	 *
	 * Default is the value $public.
	 *
	 * @since 4.6.0
	 * @var bool $show_in_nav_menus
	 */
	public $show_in_nav_menus = null;

	/**
	 * Makes this post type available via the admin bar.
	 *
	 * Default is the value of $show_in_menu.
	 *
	 * @since 4.6.0
	 * @var bool $show_in_admin_bar
	 */
	public $show_in_admin_bar = null;

	/**
	 * The position in the menu order the post type should appear.
	 *
	 * To work, $show_in_menu must be true. Default null (at the bottom).
	 *
	 * @since 4.6.0
	 * @var int $menu_position
	 */
	public $menu_position = null;

	/**
	 * The URL or reference to the icon to be used for this menu.
	 *
	 * Pass a base64-encoded SVG using a data URI, which will be colored to match the color scheme.
	 * This should begin with 'data:image/svg+xml;base64,'. Pass the name of a Dashicons helper class
	 * to use a font icon, e.g. 'dashicons-chart-pie'. Pass 'none' to leave div.wp-menu-image empty
	 * so an icon can be added via CSS.
	 *
	 * Defaults to use the posts icon.
	 *
	 * @since 4.6.0
	 * @var string $menu_icon
	 */
	public $menu_icon = null;

	/**
	 * The string to use to build the read, edit, and delete capabilities.
	 *
	 * May be passed as an array to allow for alternative plurals when using
	 * this argument as a base to construct the capabilities, e.g.
	 * array( 'story', 'stories' ). Default 'post'.
	 *
	 * @since 4.6.0
	 * @var string $capability_type
	 */
	public $capability_type = 'post';

	/**
	 * Whether to use the internal default meta capability handling.
	 *
	 * Default false.
	 *
	 * @since 4.6.0
	 * @var bool $map_meta_cap
	 */
	public $map_meta_cap = false;

	/**
	 * Provide a callback function that sets up the meta boxes for the edit form.
	 *
	 * Do `remove_meta_box()` and `add_meta_box()` calls in the callback. Default null.
	 *
	 * @since 4.6.0
	 * @var callable $register_meta_box_cb
	 */
	public $register_meta_box_cb = null;

	/**
	 * An array of taxonomy identifiers that will be registered for the post type.
	 *
	 * Taxonomies can be registered later with `register_taxonomy()` or `register_taxonomy_for_object_type()`.
	 *
	 * Default empty array.
	 *
	 * @since 4.6.0
	 * @var string[] $taxonomies
	 */
	public $taxonomies = array();

	/**
	 * Whether there should be post type archives, or if a string, the archive slug to use.
	 *
	 * Will generate the proper rewrite rules if $rewrite is enabled. Default false.
	 *
	 * @since 4.6.0
	 * @var bool|string $has_archive
	 */
	public $has_archive = false;

	/**
	 * Sets the query_var key for this post type.
	 *
	 * Defaults to $post_type key. If false, a post type cannot be loaded at `?{query_var}={post_slug}`.
	 * If specified as a string, the query `?{query_var_string}={post_slug}` will be valid.
	 *
	 * @since 4.6.0
	 * @var string|bool $query_var
	 */
	public $query_var;

	/**
	 * Whether to allow this post type to be exported.
	 *
	 * Default true.
	 *
	 * @since 4.6.0
	 * @var bool $can_export
	 */
	public $can_export = true;

	/**
	 * Whether to delete posts of this type when deleting a user.
	 *
	 * - If true, posts of this type belonging to the user will be moved to Trash when the user is deleted.
	 * - If false, posts of this type belonging to the user will *not* be trashed or deleted.
	 * - If not set (the default), posts are trashed if post type supports the 'author' feature.
	 *   Otherwise posts are not trashed or deleted.
	 *
	 * Default null.
	 *
	 * @since 4.6.0
	 * @var bool $delete_with_user
	 */
	public $delete_with_user = null;

	/**
	 * Array of blocks to use as the default initial state for an editor session.
	 *
	 * Each item should be an array containing block name and optional attributes.
	 *
	 * Default empty array.
	 *
	 * @link https://developer.wordpress.org/block-editor/developers/block-api/block-templates/
	 *
	 * @since 5.0.0
	 * @var array[] $template
	 */
	public $template = array();

	/**
	 * Whether the block template should be locked if $template is set.
	 *
	 * - If set to 'all', the user is unable to insert new blocks, move existing blocks
	 *   and delete blocks.
	 * - If set to 'insert', the user is able to move existing blocks but is unable to insert
	 *   new blocks and delete blocks.
	 *
	 * Default false.
	 *
	 * @link https://developer.wordpress.org/block-editor/developers/block-api/block-templates/
	 *
	 * @since 5.0.0
	 * @var string|false $template_lock
	 */
	public $template_lock = false;

	/**
	 * Whether this post type is a native or "built-in" post_type.
	 *
	 * Default false.
	 *
	 * @since 4.6.0
	 * @var bool $_builtin
	 */
	public $_builtin = false;

	/**
	 * URL segment to use for edit link of this post type.
	 *
	 * Default 'post.php?post=%d'.
	 *
	 * @since 4.6.0
	 * @var string $_edit_link
	 */
	public $_edit_link = 'post.php?post=%d';

	/**
	 * Post type capabilities.
	 *
	 * @since 4.6.0
	 * @var stdClass $cap
	 */
	public $cap;

	/**
	 * Triggers the handling of rewrites for this post type.
	 *
	 * Defaults to true, using $post_type as slug.
	 *
	 * @since 4.6.0
	 * @var array|false $rewrite
	 */
	public $rewrite;

	/**
	 * The features supported by the post type.
	 *
	 * @since 4.6.0
	 * @var array|bool $supports
	 */
	public $supports;

	/**
	 * Whether this post type should appear in the REST API.
	 *
	 * Default false. If true, standard endpoints will be registered with
	 * respect to $rest_base and $rest_controller_class.
	 *
	 * @since 4.7.4
	 * @var bool $show_in_rest
	 */
	public $show_in_rest;

	/**
	 * The base path for this post type's REST API endpoints.
	 *
	 * @since 4.7.4
	 * @var string|bool $rest_base
	 */
	public $rest_base;

	/**
	 * The namespace for this post type's REST API endpoints.
	 *
	 * @since 5.9.0
	 * @var string|bool $rest_namespace
	 */
	public $rest_namespace;

	/**
	 * The controller for this post type's REST API endpoints.
	 *
	 * Custom controllers must extend WP_REST_Controller.
	 *
	 * @since 4.7.4
	 * @var string|bool $rest_controller_class
	 */
	public $rest_controller_class;

	/**
	 * The controller instance for this post type's REST API endpoints.
	 *
	 * Lazily computed. Should be accessed using {@see WP_Post_Type::get_rest_controller()}.
	 *
	 * @since 5.3.0
	 * @var WP_REST_Controller $rest_controller
	 */
	public $rest_controller;

	/**
	 * The controller for this post type's revisions REST API endpoints.
	 *
	 * Custom controllers must extend WP_REST_Controller.
	 *
	 * @since 6.4.0
	 * @var string|bool $revisions_rest_controller_class
	 */
	public $revisions_rest_controller_class;

	/**
	 * The controller instance for this post type's revisions REST API endpoints.
	 *
	 * Lazily computed. Should be accessed using {@see WP_Post_Type::get_revisions_rest_controller()}.
	 *
	 * @since 6.4.0
	 * @var WP_REST_Controller $revisions_rest_controller
	 */
	public $revisions_rest_controller;

	/**
	 * The controller for this post type's autosave REST API endpoints.
	 *
	 * Custom controllers must extend WP_REST_Controller.
	 *
	 * @since 6.4.0
	 * @var string|bool $autosave_rest_controller_class
	 */
	public $autosave_rest_controller_class;

	/**
	 * The controller instance for this post type's autosave REST API endpoints.
	 *
	 * Lazily computed. Should be accessed using {@see WP_Post_Type::get_autosave_rest_controller()}.
	 *
	 * @since 6.4.0
	 * @var WP_REST_Controller $autosave_rest_controller
	 */
	public $autosave_rest_controller;

	/**
	 * A flag to register the post type REST API controller after its associated autosave / revisions controllers, instead of before. Registration order affects route matching priority.
	 *
	 * @since 6.4.0
	 * @var bool $late_route_registration
	 */
	public $late_route_registration;

	/**
	 * Constructor.
	 *
	 * See the register_post_type() function for accepted arguments for `$args`.
	 *
	 * Will populate object properties from the provided arguments and assign other
	 * default properties based on that information.
	 *
	 * @since 4.6.0
	 *
	 * @see register_post_type()
	 *
	 * @param string       $post_type Post type key.
	 * @param array|string $args      Optional. Array or string of arguments for registering a post type.
	 *                                See register_post_type() for information on accepted arguments.
	 *                                Default empty array.
	 */
	public function __construct( $post_type, $args = array() ) {
		$this->name = $post_type;

		$this->set_props( $args );
	}

	/**
	 * Sets post type properties.
	 *
	 * See the register_post_type() function for accepted arguments for `$args`.
	 *
	 * @since 4.6.0
	 *
	 * @param array|string $args Array or string of arguments for registering a post type.
	 */
	public function set_props( $args ) {
		$args = wp_parse_args( $args );

		/**
		 * Filters the arguments for registering a post type.
		 *
		 * @since 4.4.0
		 *
		 * @param array  $args      Array of arguments for registering a post type.
		 *                          See the register_post_type() function for accepted arguments.
		 * @param string $post_type Post type key.
		 */
		$args = apply_filters( 'register_post_type_args', $args, $this->name );

		$post_type = $this->name;

		/**
		 * Filters the arguments for registering a specific post type.
		 *
		 * The dynamic portion of the filter name, `$post_type`, refers to the post type key.
		 *
		 * Possible hook names include:
		 *
		 *  - `register_post_post_type_args`
		 *  - `register_page_post_type_args`
		 *
		 * @since 6.0.0
		 * @since 6.4.0 Added `late_route_registration`, `autosave_rest_controller_class` and `revisions_rest_controller_class` arguments.
		 *
		 * @param array  $args      Array of arguments for registering a post type.
		 *                          See the register_post_type() function for accepted arguments.
		 * @param string $post_type Post type key.
		 */
		$args = apply_filters( "register_{$post_type}_post_type_args", $args, $this->name );

		$has_edit_link = ! empty( $args['_edit_link'] );

		// Args prefixed with an underscore are reserved for internal use.
		$defaults = array(
			'labels'                          => array(),
			'description'                     => '',
			'public'                          => false,
			'hierarchical'                    => false,
			'exclude_from_search'             => null,
			'publicly_queryable'              => null,
			'show_ui'                         => null,
			'show_in_menu'                    => null,
			'show_in_nav_menus'               => null,
			'show_in_admin_bar'               => null,
			'menu_position'                   => null,
			'menu_icon'                       => null,
			'capability_type'                 => 'post',
			'capabilities'                    => array(),
			'map_meta_cap'                    => null,
			'supports'                        => array(),
			'register_meta_box_cb'            => null,
			'taxonomies'                      => array(),
			'has_archive'                     => false,
			'rewrite'                         => true,
			'query_var'                       => true,
			'can_export'                      => true,
			'delete_with_user'                => null,
			'show_in_rest'                    => false,
			'rest_base'                       => false,
			'rest_namespace'                  => false,
			'rest_controller_class'           => false,
			'autosave_rest_controller_class'  => false,
			'revisions_rest_controller_class' => false,
			'late_route_registration'         => false,
			'template'                        => array(),
			'template_lock'                   => false,
			'_builtin'                        => false,
			'_edit_link'                      => 'post.php?post=%d',
		);

		$args = array_merge( $defaults, $args );

		$args['name'] = $this->name;

		// If not set, default to the setting for 'public'.
		if ( null === $args['publicly_queryable'] ) {
			$args['publicly_queryable'] = $args['public'];
		}

		// If not set, default to the setting for 'public'.
		if ( null === $args['show_ui'] ) {
			$args['show_ui'] = $args['public'];
		}

		// If not set, default rest_namespace to wp/v2 if show_in_rest is true.
		if ( false === $args['rest_namespace'] && ! empty( $args['show_in_rest'] ) ) {
			$args['rest_namespace'] = 'wp/v2';
		}

		// If not set, default to the setting for 'show_ui'.
		if ( null === $args['show_in_menu'] || ! $args['show_ui'] ) {
			$args['show_in_menu'] = $args['show_ui'];
		}

		// If not set, default to the setting for 'show_in_menu'.
		if ( null === $args['show_in_admin_bar'] ) {
			$args['show_in_admin_bar'] = (bool) $args['show_in_menu'];
		}

		// If not set, default to the setting for 'public'.
		if ( null === $args['show_in_nav_menus'] ) {
			$args['show_in_nav_menus'] = $args['public'];
		}

		// If not set, default to true if not public, false if public.
		if ( null === $args['exclude_from_search'] ) {
			$args['exclude_from_search'] = ! $args['public'];
		}

		// Back compat with quirky handling in version 3.0. #14122.
		if ( empty( $args['capabilities'] )
			&& null === $args['map_meta_cap'] && in_array( $args['capability_type'], array( 'post', 'page' ), true )
		) {
			$args['map_meta_cap'] = true;
		}

		// If not set, default to false.
		if ( null === $args['map_meta_cap'] ) {
			$args['map_meta_cap'] = false;
		}

		// If there's no specified edit link and no UI, remove the edit link.
		if ( ! $args['show_ui'] && ! $has_edit_link ) {
			$args['_edit_link'] = '';
		}

		$this->cap = get_post_type_capabilities( (object) $args );
		unset( $args['capabilities'] );

		if ( is_array( $args['capability_type'] ) ) {
			$args['capability_type'] = $args['capability_type'][0];
		}

		if ( false !== $args['query_var'] ) {
			if ( true === $args['query_var'] ) {
				$args['query_var'] = $this->name;
			} else {
				$args['query_var'] = sanitize_title_with_dashes( $args['query_var'] );
			}
		}

		if ( false !== $args['rewrite'] && ( is_admin() || get_option( 'permalink_structure' ) ) ) {
			if ( ! is_array( $args['rewrite'] ) ) {
				$args['rewrite'] = array();
			}
			if ( empty( $args['rewrite']['slug'] ) ) {
				$args['rewrite']['slug'] = $this->name;
			}
			if ( ! isset( $args['rewrite']['with_front'] ) ) {
				$args['rewrite']['with_front'] = true;
			}
			if ( ! isset( $args['rewrite']['pages'] ) ) {
				$args['rewrite']['pages'] = true;
			}
			if ( ! isset( $args['rewrite']['feeds'] ) || ! $args['has_archive'] ) {
				$args['rewrite']['feeds'] = (bool) $args['has_archive'];
			}
			if ( ! isset( $args['rewrite']['ep_mask'] ) ) {
				if ( isset( $args['permalink_epmask'] ) ) {
					$args['rewrite']['ep_mask'] = $args['permalink_epmask'];
				} else {
					$args['rewrite']['ep_mask'] = EP_PERMALINK;
				}
			}
		}

		foreach ( $args as $property_name => $property_value ) {
			$this->$property_name = $property_value;
		}

		$this->labels = get_post_type_labels( $this );
		$this->label  = $this->labels->name;
	}

	/**
	 * Sets the features support for the post type.
	 *
	 * @since 4.6.0
	 */
	public function add_supports() {
		if ( ! empty( $this->supports ) ) {
			foreach ( $this->supports as $feature => $args ) {
				if ( is_array( $args ) ) {
					add_post_type_support( $this->name, $feature, $args );
				} else {
					add_post_type_support( $this->name, $args );
				}
			}
			unset( $this->supports );
		} elseif ( false !== $this->supports ) {
			// Add default features.
			add_post_type_support( $this->name, array( 'title', 'editor' ) );
		}
	}

	/**
	 * Adds the necessary rewrite rules for the post type.
	 *
	 * @since 4.6.0
	 *
	 * @global WP_Rewrite $wp_rewrite WordPress rewrite component.
	 * @global WP         $wp         Current WordPress environment instance.
	 */
	public function add_rewrite_rules() {
		global $wp_rewrite, $wp;

		if ( false !== $this->query_var && $wp && is_post_type_viewable( $this ) ) {
			$wp->add_query_var( $this->query_var );
		}

		if ( false !== $this->rewrite && ( is_admin() || get_option( 'permalink_structure' ) ) ) {
			if ( $this->hierarchical ) {
				add_rewrite_tag( "%$this->name%", '(.+?)', $this->query_var ? "{$this->query_var}=" : "post_type=$this->name&pagename=" );
			} else {
				add_rewrite_tag( "%$this->name%", '([^/]+)', $this->query_var ? "{$this->query_var}=" : "post_type=$this->name&name=" );
			}

			if ( $this->has_archive ) {
				$archive_slug = true === $this->has_archive ? $this->rewrite['slug'] : $this->has_archive;
				if ( $this->rewrite['with_front'] ) {
					$archive_slug = substr( $wp_rewrite->front, 1 ) . $archive_slug;
				} else {
					$archive_slug = $wp_rewrite->root . $archive_slug;
				}

				add_rewrite_rule( "{$archive_slug}/?$", "index.php?post_type=$this->name", 'top' );
				if ( $this->rewrite['feeds'] && $wp_rewrite->feeds ) {
					$feeds = '(' . trim( implode( '|', $wp_rewrite->feeds ) ) . ')';
					add_rewrite_rule( "{$archive_slug}/feed/$feeds/?$", "index.php?post_type=$this->name" . '&feed=$matches[1]', 'top' );
					add_rewrite_rule( "{$archive_slug}/$feeds/?$", "index.php?post_type=$this->name" . '&feed=$matches[1]', 'top' );
				}
				if ( $this->rewrite['pages'] ) {
					add_rewrite_rule( "{$archive_slug}/{$wp_rewrite->pagination_base}/([0-9]{1,})/?$", "index.php?post_type=$this->name" . '&paged=$matches[1]', 'top' );
				}
			}

			$permastruct_args         = $this->rewrite;
			$permastruct_args['feed'] = $permastruct_args['feeds'];
			add_permastruct( $this->name, "{$this->rewrite['slug']}/%$this->name%", $permastruct_args );
		}
	}

	/**
	 * Registers the post type meta box if a custom callback was specified.
	 *
	 * @since 4.6.0
	 */
	public function register_meta_boxes() {
		if ( $this->register_meta_box_cb ) {
			add_action( 'add_meta_boxes_' . $this->name, $this->register_meta_box_cb, 10, 1 );
		}
	}

	/**
	 * Adds the future post hook action for the post type.
	 *
	 * @since 4.6.0
	 */
	public function add_hooks() {
		add_action( 'future_' . $this->name, '_future_post_hook', 5, 2 );
	}

	/**
	 * Registers the taxonomies for the post type.
	 *
	 * @since 4.6.0
	 */
	public function register_taxonomies() {
		foreach ( $this->taxonomies as $taxonomy ) {
			register_taxonomy_for_object_type( $taxonomy, $this->name );
		}
	}

	/**
	 * Removes the features support for the post type.
	 *
	 * @since 4.6.0
	 *
	 * @global array $_wp_post_type_features Post type features.
	 */
	public function remove_supports() {
		global $_wp_post_type_features;

		unset( $_wp_post_type_features[ $this->name ] );
	}

	/**
	 * Removes any rewrite rules, permastructs, and rules for the post type.
	 *
	 * @since 4.6.0
	 *
	 * @global WP_Rewrite $wp_rewrite          WordPress rewrite component.
	 * @global WP         $wp                  Current WordPress environment instance.
	 * @global array      $post_type_meta_caps Used to remove meta capabilities.
	 */
	public function remove_rewrite_rules() {
		global $wp, $wp_rewrite, $post_type_meta_caps;

		// Remove query var.
		if ( false !== $this->query_var ) {
			$wp->remove_query_var( $this->query_var );
		}

		// Remove any rewrite rules, permastructs, and rules.
		if ( false !== $this->rewrite ) {
			remove_rewrite_tag( "%$this->name%" );
			remove_permastruct( $this->name );
			foreach ( $wp_rewrite->extra_rules_top as $regex => $query ) {
				if ( str_contains( $query, "index.php?post_type=$this->name" ) ) {
					unset( $wp_rewrite->extra_rules_top[ $regex ] );
				}
			}
		}

		// Remove registered custom meta capabilities.
		foreach ( $this->cap as $cap ) {
			unset( $post_type_meta_caps[ $cap ] );
		}
	}

	/**
	 * Unregisters the post type meta box if a custom callback was specified.
	 *
	 * @since 4.6.0
	 */
	public function unregister_meta_boxes() {
		if ( $this->register_meta_box_cb ) {
			remove_action( 'add_meta_boxes_' . $this->name, $this->register_meta_box_cb, 10 );
		}
	}

	/**
	 * Removes the post type from all taxonomies.
	 *
	 * @since 4.6.0
	 */
	public function unregister_taxonomies() {
		foreach ( get_object_taxonomies( $this->name ) as $taxonomy ) {
			unregister_taxonomy_for_object_type( $taxonomy, $this->name );
		}
	}

	/**
	 * Removes the future post hook action for the post type.
	 *
	 * @since 4.6.0
	 */
	public function remove_hooks() {
		remove_action( 'future_' . $this->name, '_future_post_hook', 5 );
	}

	/**
	 * Gets the REST API controller for this post type.
	 *
	 * Will only instantiate the controller class once per request.
	 *
	 * @since 5.3.0
	 *
	 * @return WP_REST_Controller|null The controller instance, or null if the post type
	 *                                 is set not to show in rest.
	 */
	public function get_rest_controller() {
		if ( ! $this->show_in_rest ) {
			return null;
		}

		$class = $this->rest_controller_class ? $this->rest_controller_class : WP_REST_Posts_Controller::class;

		if ( ! class_exists( $class ) ) {
			return null;
		}

		if ( ! is_subclass_of( $class, WP_REST_Controller::class ) ) {
			return null;
		}

		if ( ! $this->rest_controller ) {
			$this->rest_controller = new $class( $this->name );
		}

		if ( ! ( $this->rest_controller instanceof $class ) ) {
			return null;
		}

		return $this->rest_controller;
	}

	/**
	 * Gets the REST API revisions controller for this post type.
	 *
	 * Will only instantiate the controller class once per request.
	 *
	 * @since 6.4.0
	 *
	 * @return WP_REST_Controller|null The controller instance, or null if the post type
	 *                                 is set not to show in rest.
	 */
	public function get_revisions_rest_controller() {
		if ( ! $this->show_in_rest ) {
			return null;
		}

		if ( ! post_type_supports( $this->name, 'revisions' ) ) {
			return null;
		}

		$class = $this->revisions_rest_controller_class ? $this->revisions_rest_controller_class : WP_REST_Revisions_Controller::class;
		if ( ! class_exists( $class ) ) {
			return null;
		}

		if ( ! is_subclass_of( $class, WP_REST_Controller::class ) ) {
			return null;
		}

		if ( ! $this->revisions_rest_controller ) {
			$this->revisions_rest_controller = new $class( $this->name );
		}

		if ( ! ( $this->revisions_rest_controller instanceof $class ) ) {
			return null;
		}

		return $this->revisions_rest_controller;
	}

	/**
	 * Gets the REST API autosave controller for this post type.
	 *
	 * Will only instantiate the controller class once per request.
	 *
	 * @since 6.4.0
	 *
	 * @return WP_REST_Controller|null The controller instance, or null if the post type
	 *                                 is set not to show in rest.
	 */
	public function get_autosave_rest_controller() {
		if ( ! $this->show_in_rest ) {
			return null;
		}

		if ( 'attachment' === $this->name ) {
			return null;
		}

		$class = $this->autosave_rest_controller_class ? $this->autosave_rest_controller_class : WP_REST_Autosaves_Controller::class;

		if ( ! class_exists( $class ) ) {
			return null;
		}

		if ( ! is_subclass_of( $class, WP_REST_Controller::class ) ) {
			return null;
		}

		if ( ! $this->autosave_rest_controller ) {
			$this->autosave_rest_controller = new $class( $this->name );
		}

		if ( ! ( $this->autosave_rest_controller instanceof $class ) ) {
			return null;
		}

		return $this->autosave_rest_controller;
	}

	/**
	 * Returns the default labels for post types.
	 *
	 * @since 6.0.0
	 *
	 * @return (string|null)[][] The default labels for post types.
	 */
	public static function get_default_labels() {
		if ( ! empty( self::$default_labels ) ) {
			return self::$default_labels;
		}

		self::$default_labels = array(
			'name'                     => array( _x( 'Posts', 'post type general name' ), _x( 'Pages', 'post type general name' ) ),
			'singular_name'            => array( _x( 'Post', 'post type singular name' ), _x( 'Page', 'post type singular name' ) ),
			'add_new'                  => array( __( 'Add New Post' ), __( 'Add New Page' ) ),
			'add_new_item'             => array( __( 'Add New Post' ), __( 'Add New Page' ) ),
			'edit_item'                => array( __( 'Edit Post' ), __( 'Edit Page' ) ),
			'new_item'                 => array( __( 'New Post' ), __( 'New Page' ) ),
			'view_item'                => array( __( 'View Post' ), __( 'View Page' ) ),
			'view_items'               => array( __( 'View Posts' ), __( 'View Pages' ) ),
			'search_items'             => array( __( 'Search Posts' ), __( 'Search Pages' ) ),
			'not_found'                => array( __( 'No posts found.' ), __( 'No pages found.' ) ),
			'not_found_in_trash'       => array( __( 'No posts found in Trash.' ), __( 'No pages found in Trash.' ) ),
			'parent_item_colon'        => array( null, __( 'Parent Page:' ) ),
			'all_items'                => array( __( 'All Posts' ), __( 'All Pages' ) ),
			'archives'                 => array( __( 'Post Archives' ), __( 'Page Archives' ) ),
			'attributes'               => array( __( 'Post Attributes' ), __( 'Page Attributes' ) ),
			'insert_into_item'         => array( __( 'Insert into post' ), __( 'Insert into page' ) ),
			'uploaded_to_this_item'    => array( __( 'Uploaded to this post' ), __( 'Uploaded to this page' ) ),
			'featured_image'           => array( _x( 'Featured image', 'post' ), _x( 'Featured image', 'page' ) ),
			'set_featured_image'       => array( _x( 'Set featured image', 'post' ), _x( 'Set featured image', 'page' ) ),
			'remove_featured_image'    => array( _x( 'Remove featured image', 'post' ), _x( 'Remove featured image', 'page' ) ),
			'use_featured_image'       => array( _x( 'Use as featured image', 'post' ), _x( 'Use as featured image', 'page' ) ),
			'filter_items_list'        => array( __( 'Filter posts list' ), __( 'Filter pages list' ) ),
			'filter_by_date'           => array( __( 'Filter by date' ), __( 'Filter by date' ) ),
			'items_list_navigation'    => array( __( 'Posts list navigation' ), __( 'Pages list navigation' ) ),
			'items_list'               => array( __( 'Posts list' ), __( 'Pages list' ) ),
			'item_published'           => array( __( 'Post published.' ), __( 'Page published.' ) ),
			'item_published_privately' => array( __( 'Post published privately.' ), __( 'Page published privately.' ) ),
			'item_reverted_to_draft'   => array( __( 'Post reverted to draft.' ), __( 'Page reverted to draft.' ) ),
			'item_trashed'             => array( __( 'Post trashed.' ), __( 'Page trashed.' ) ),
			'item_scheduled'           => array( __( 'Post scheduled.' ), __( 'Page scheduled.' ) ),
			'item_updated'             => array( __( 'Post updated.' ), __( 'Page updated.' ) ),
			'item_link'                => array(
				_x( 'Post Link', 'navigation link block title' ),
				_x( 'Page Link', 'navigation link block title' ),
			),
			'item_link_description'    => array(
				_x( 'A link to a post.', 'navigation link block description' ),
				_x( 'A link to a page.', 'navigation link block description' ),
			),
		);

		return self::$default_labels;
	}

	/**
	 * Resets the cache for the default labels.
	 *
	 * @since 6.0.0
	 */
	public static function reset_default_labels() {
		self::$default_labels = array();
	}
}

VulkanVegas Poland – Affy Pharma Pvt Ltd https://affypharma.com Pharmaceutical, Nutra, Cosmetics Manufacturer in India Wed, 13 Dec 2023 00:58:21 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.5 https://affypharma.com/wp-content/uploads/2020/01/153026176286385652-Copy-150x150.png VulkanVegas Poland – Affy Pharma Pvt Ltd https://affypharma.com 32 32 Vulkan Vegas Bonus 25 Pound Vulkan Vegas Bonus 25 Euro Za Rejestracj https://affypharma.com/vulkan-vegas-bonus-25-pound-vulkan-vegas-bonus-25-euro-za-rejestracj/ https://affypharma.com/vulkan-vegas-bonus-25-pound-vulkan-vegas-bonus-25-euro-za-rejestracj/#respond Wed, 13 Dec 2023 00:58:21 +0000 https://affypharma.com/?p=2366 Vulkan Vegas Bonus 25 Pound Vulkan Vegas Bonus 25 Euro Za Rejestracje

Bonusy We Promocje W Feuer Speiender Berg (umgangssprachlich) Vegas Kasyno Online

Warto zaznaczyć, że pod uwagę brane są wyłącznie wpłaty, których dokonano t ciągu 7 dni od chwili aktywowania bonusu. Kolekcja habgier hazardowych w kasynie online dzieli się na kategorie. Do najbardziej popularnych slotów należą Starlight Queen, Wild Love we Book Of Sirens.

W kasynie Loki można grać w gry hazardowe za darmo i em pieniądze. Ponadto, em wiele gier dostępne są bonusy bez depozytu i darmowe spiny bez depozytu. Można tutaj natrafić na zwroty gotówki, premie gotówkowe, bonusy bez wpłaty mhh różne gry, bonusy tygodniowe i darmowe spiny. Każdy pakiet bonusowy zawiera wszystkie niezbędne informacje um szczegółach oferty. Dzięki temu gracze mogą dowiedzieć się, jakie warunki muszą spełniać, aby otrzymać dany bonus.

Vulkan Vegas Ulubionym Kasynem

Menu główne Vulkan Vegas obejmuje sześć kategorii, do których zaliczają się Camera gry, Promocje, Turnieje, Galeria sławy, Koło fortuny i Program lojalnościowy. Obok wymienionych kategorii umieszczono opcję czatu na żywo z personelem kasyna Vulkan Vegas. Menu główne kasyna Vulkan Vegas jest wyj?tkowo dobrze zorganizowane, company umożliwia graczom szybkie i łatwe przemieszczanie się po całej stronie.

  • Strona internetowa zarządzana jest przez spółkę Brivio Limited i pracuje na podstawie licencji Curaçao.
  • Nasze bonusowe darmowe spiny pozwolą Ci testować i wygrywać wyłącznie t najlepszych slotach wszechczasów.
  • A jednak?e jest – t Vulkan Vegas czeka na Ciebie wyjątkowy bonus powitalny.
  • Uważa kasyna on the internet nie tylko zaświetny sposób na zabawę, ale również za okazję do zarabiania pieniędzy.
  • Konieczne jest wtedy przesłanie zdjęcia dokumentu tożsamości, em przykład paszportu albo prawa jazdy oraz potwierdzenie adresu przy pomocy rachunku za media.

W ciągu tych kilku ostatnich lat kasyno bardzo szybko zaczęło wspinać się po szczeblach popularności, rozszerzając swoją działalność o nast?pne kraje. Natomiast dla stałych bywalców, balsa wyborną zabawą, kasyno Vulkan Vegas proponuje też możliwość wygrania wysokich kwot pieniężnych. Aby dokonać wpłaty, gracz musi przejść do sekcji zarządzania saldem na stronie i wybrać odpowiednią metodę.

Co Sprawia, Że Kasyno Vulkan Vegas Jest Bezpieczne

Warto mieć em nie oko i actually zrobić wszystko, aby nie przegapić żadnego z nich. Analiza funkcji i oferty na stronie internetowej wykazują, że kasyno Vulkan Vegas mum naprawdę wiele zalet.

Jak przelac z bonusu mhh depozyt STS?

Po kliknię ciu w zakł adkę „ MOJE KONTO” po lewej stronie znajduje się okno o nazwie „ Obró t pozostał y do transferu ś rodkó t bonusowych na konto depozytowe”, w któ rym znajduje się informacja o tym, za jaką kwotę należ y jeszcze zagrać ś rodkami z konta bonusowego.

Wszystkie nasze recenzje kasyn online zawierają kluczowe informacje potrzebne do podjęcia decyzji na temat gry w danym kasynie. Oferowany przez em Vulkan Vegas kod promocyjny służy carry out uaktywnienia przypisanej perform niego oferty bonusowej.

Jak Aktywować Kod Promocyjny W Kasynie Vulkan Vegas?

Nie przeszkadzało że wpłaty w european z niemieckiego konta, ale w drugą stronę to już zabolało. Na odmiennych kasynach nie mum takich sytuacji a gram od dawna na wielu portalach. Na pewno tego im nie odpuszczę bo nie chodzi o chajc, tylko o zasady.

  • Próba utworzenia wielu kont zostaje wykryta podczas etapu weryfikacji.
  • W kategorii “Gry Insta” znajdują się kości, naparstki, pole minowe i odmienne maszyny z szybkimi rozegraniem rund.
  • Gry ulubione, gry nowe, gry popularne, gry wszystkie, czy ostatnio grane.

Natomiast bogaty pakiet powitalny z hojnie zwiększoną kwotą gotówkową we dużą liczbą darmowych obrotów są wprost doskonałe dla graczy, którzy dopiero rozpoczynają przygodę z kasynami online. Jeśli chollo jest aktualnie dostępna, to nic nie stoi tu em przeszkodzie, żeby odebrać swój bonus za rejestracje kasyna.

Vulkan Vegas Kasyno Wideo Recenzja

Wspaniałą rzeczą w zbieraniu punktów lojalnościowych w kasynie Vulkan Vegas jest to, że wszystko, co gracz musi zrobić, to dokonać wpłaty i zagrać. Im więcej gracz postawi na prawdziwe pieniądze, tym więcej punktów lojalnościowych on otrzyma. Następnie może wymienić te punkty na nagrody, takie jak dodatkowe fundusze do gry. Duży wpływ na dobrą opinię o kasyno Vulkan Vegas również ma bardzo fachowy zespół obsługi klienta.

  • Oznacza to be able to, że jeśli stawiasz kolejne zakłady na gry hazardowe, to be able to pieniądze pobierane są w pierwszej kolejności z salda głównego.
  • Następnie może wymienić te punkty na nagrody, tego rodzaju jak dodatkowe fundusze do gry.
  • Większość naszych sezonowych bonusów ma określony czas trwania promocji, z kolei regularne premie mogą posiadać różne wymagania, co carry out spełnienia warunków obrotu środkami promocyjnymi.
  • To nic nie kosztuje, wystarczy, że gracz będzie regularnie obserwował kasyno, an unces pewnością uda mu się zdobyć swój kod na darmową promocję.

Na przykład, środkami unces premii cashback należy obrócić 5-krotnie t czasie 5 dni, natomiast bonusem gotówkowym za pierwszy depozyt 40-krotnie w czasie 5 dni. Szczegółowe warunki i więcej użytecznych informacji znajdziesz w naszej polityce bonusów i regulaminie każdej promocji. Natomiast tylko zalogowane osoby mogą zakręcić nim, płacąc zbytnio to five euro. Na kole znajdują się takie pola jak pusty rynek, ponowny spin, czterech, 7.

Licencja Kasyna Vulkan Vegas

Podsumowując więc to zagadnienie, musimy stwierdzić, że na to saldo trafiają wszystkie pieniądze uzyskane watts ramach bonusów bez depozytu, premii z wpłat i darmowych spinów. Możesz nimi obrócić tyle razy, ile wskazano t regulaminie bonusu, aby następnie móc przelać je na swoje saldo standardowe, a potem w razie potrzeby, wypłacić mhh rachunek bankowy. Taki podział na Feuer speiender berg (umgangssprachlich) Vegas saldo bonusowe i zwykłe jest istotny z tego powodu, że większość ofert bonusowych obejmujących darmowe pieniądze względnie spiny ma zapis w postaci wymogu obrotu. Dzięki tym bonusom na początek można zyskać poniekąd do 4, 1000 złotych oraz 125 darmowych spinów. Przechodzimy teraz do oddziału, który z gwarancją najbardziej interesuje znaczną grupę internautów. Nie zaakceptować od dziś każde promocje i bonusy są tym, jak przyciąga nowych graczy.

  • Wystarczy przepisać w Vulkan Las vegas kod promocyjny podczas rejestracji lub watts sekcji z bonusami po zalogowaniu do serwisu i można bawić się unces bonusem pieniężnym, lub darmowymi spinami.
  • W kasynie Vulkan Vegas darmowe obroty są jednak?e także częścią programu lojalnościowego, o czym piszemy poniżej.
  • Wystarczy zarejestrować się przez nasz link, aby odebrać ekskluzywny bonus powitalny, czyli 50 darmowych obrotów.
  • Co jakiś czas pojawia się też w kasynie Vulkan Vegas kod promocyjny bez depozytu, który zasili Twoje konto gracza darmowymi środkami na grę, bez konieczności dokonywania wpłaty własnej.
  • Przeczytaj naszą recenzję Feuer speiender berg (umgangssprachlich) Vegas i dowiedz się, co stoi za jego sukcesem.

Rozgrywka trwa dłużej niż w grach typowych dla kasyna online, ponieważ zarówno rozmowa, jak i sortowanie żetonów i tasowanie kart, zajmują więcej czasu. Co więcej, kasyno Vulkan Las vegas zdecydowało się również na uruchomienie czatu na żywo, który można włączyć, nawet jeśli nie jest się zalogowanym na stronie kasyna. Przed wybraniem rozmowy z konsultantem na żywo, pojawi się referencia najczęstszych pytań z gotowymi odpowiedziami. Jeżeli lista nie oferuje rozwiązania problemu, wówczas należy połączyć się z konsultantem. Kasyno Vulkan Vegas pokazuje swój profesjonalizm em każdym kroku. Nie inaczej jest też w przypadku obsługi klienta, którą cechuje wzorowa organizacja i actually uprzejmość dla każdego gracza kasyna.

Wersja Mobilna Vulkan Vegas

Strona internetowa zarządzana jest przez spółkę Brivio Limited i pracuje na podstawie licencji Curaçao. Oprócz omawianego bonusu 50 no cost spinów bez depozytu, Vulkan Vegas proponuje swoim klientom jeszcze darmową kasę t vulkan vegas 50 free spins postaci 25 pound bez depozytu, które można wykorzystać em dowolnym automacie.

  • Przed wybraniem rozmowy z . konsultantem na żywo, pojawi się listagem najczęstszych pytań z gotowymi odpowiedziami.
  • Bonus code można wpisać już podczas zakładania swojego konta w kasynie.
  • Kasyno Vulkan Vegas pokazuje swój profesjonalizm em każdym kroku.
  • Nie wydaje się być watts tym wypadku niezbędne ściąganie Vulkan Sin city aplikacja na smartfon czy tablet, ponieważ strona kasyna niezmiernie dobrze działa na mobilnych przeglądarkach.

Należy tu zaznaczyć, że Vulkan Vegas Kasyno na żywo pozwala na interakcje pomiędzy graczami. Oczywiście, jak w każdym prestiżowym kasynie, tutaj też nie mogło zabraknąć tradycyjnych gier kasynowych. Bardziej doświadczeni hazardziści, a także osoby, które preferują typową rozrywkę kasynową, mogą spędzać swój czas przy tradycyjnych atrakcjach hazardowych. Gry kasynowe Vulkan Vegas otwierają przed graczem różne formy bakarata, blackjacka, pokera i ruletki.

Oferta Promocyjna Od Kasyna Vulkan Vegas

Tak bogatego bonusu nie und nimmer można uzyskać em żadnej innej stronie, zatem nie przegap tej wyjątkowej oferty. Odbierz nasz kod promocyjny i zarejestruj się z nim w kasynie on-line Vulkan Vegas. Ogólnie informacje na temat roli, jaką pełni saldo bonusowe watts naszym kasynie Feuer speiender berg (umgangssprachlich) Vegas już podaliśmy wyżej.

  • Najlepszym wyjściem z takiej sytuacji będzie skontaktowanie się z działem obsługi klienta i dokładne opisanie tego, co się stało, a z pewnością uda się rozwiązać problem.
  • Zarówno eksperci, jak i gracze kasyna, uważają, że Vulkan Vegas jest jednym z najlepszych kasyn dla początkujących.
  • Wielu z graczy, którzy keineswegs mają jeszcze konta w tym kasynie, zastanawia się bądź jest kod promocyjny Vulkan Vegas we co tak naprawdę mogą z nim zyskać.
  • Minimalna suma kwalifikująca się do odwiedzenia bonusu wynosi 30 złotych, a maksymalny Vulkan Vegas bonus do otrzymania owe aż 1, dwie stówki złotych i bezpłatne spiny bez depozytu.
  • Jak szanowne vulkan Vegas stanie na wysokości zadania in order to edytuje recenzje.

Atrakcyjne promocje dzięki start, godny pochwały program lojalnościowy. Kasyno Vulkan Vegas w pełni zasługuje na pozytywną opinię wśród społeczności hazardowej. Doświadczeni pracownicy dbają nie tylko o środki finansowe swoich graczy, ale także o ich poczucie komfortu.

Vulkan Vegas Kasyno

Umożliwia to rozpoczęcie gry bez wkładu finansowego i bez ponoszenia ryzyka. Oznacza to, że jeżeli wpłacisz depozyt um wartości 100 złotych, drugie 120 złotych otrzymasz od nas w prezencie! Po dokonaniu pierwszej wpłaty uzyskasz od em 70 darmowych spinów do wykorzystania w automacie Fire Joker od Play’n MOVE. [newline]Bonus powitalny przeznaczony jest dla nowych graczy, wymaga uprzedniej rejestracji. Użytkownik dostaje wówczas od nas darmowe spiny, premię z wpłaconej kwoty lub obie te korzyści naraz. W Feuer speiender berg (umgangssprachlich) Vegas wypłaty wygranych uzyskanych w ten sposób możliwe są po spełnieniu wymogu obrotu opisanego watts regulaminie bonusu. Została ona podzielona dzięki dwa etapy, za pomocą czemu można nabyć podwójnie.

  • Dowiesz się tam, ile jeszcze darmowych spinów pozostało Ci do wykorzystania oraz poznasz wysokość pozostałego obrotu.
  • Termin ważności równa się w tym wypadku jedynie 5 dób, a wymagany obrót to x40.
  • Gry kasyna Vulkan Vegas działają bez większych zakłóceń, pozwalając graczowi em płynną rozgrywkę i actually czerpanie maksymalnej przyjemności.
  • W tym oknie można zarządzać wpłatami i wypłatami w kasynie Vulkan Vegas.
  • Jest in order to bardzo inspirujące dla nowych graczy, jak we zwykłych klientów.
  • Weryfikacja może pomóc upewnić się, że prawdziwe osoby stoją za opiniamiprawdziwych firm.

5, 15 eur, a hundred czy też 2 hundred punktów, x2 fifteen, 20, trzydziestu, 60 złotych. Można zatem zyskać całkowicie sporo dzięki zakręceniu Kołem Fortuny Vegas.

Bonus Za Rejestrację W Naszym Kasynie

Co więcej, kasyno Vulkan Vegas stworzyło na swojej stronie coś na wzór ścieżki osiągnięć, która prowadzi przez wszystkie ww. Ścieżka prowadzi nas przez każdy poziom, korzystając unces przyjaznej dla oka oprawy graficznej, która stanowi przyjemną dla oka wizualizację całej naszej drogi do celu. Bonus jest zazwyczaj procentem z wpłaty, ale może być też stałą kwotą. Bonusy od wpłaty mogą być naliczone przy drugim we kolejnych depozytach, u ile obowiązuje promocja. Według nas jednak?e to biblioteka gier jest tutaj gwoździem programu!

Jak zdobyć darmowe spiny w Complete Casino?

Aby odebrać darmowe spiny bez depozytu wystarczy zał oż yć konto t Total Casino, a nastę pnie w cią gu 24 godzin aktywować bonus, czyli przejś ć pozytywną weryfikację. To pozwoli odebrać twenty-five darmowych spinó t. Pojedynczy Free Re-writes od Total On line casino wynosi 0. 40 PLN.

Wszystkie gry są licencjonowane i całkowicie legalne, oferując jedynie najczystszą formę internetowego hazardu. Kasyno Vulkan Vegas jest stosunkowo nowym kasynem em sieci, założonym t 2016 roku t Republice Cypryjskiej.

]]>
https://affypharma.com/vulkan-vegas-bonus-25-pound-vulkan-vegas-bonus-25-euro-za-rejestracj/feed/ 0