WP_User_Request::__construct

Advertisement

Summery Summery

Constructor.

Syntax Syntax

WP_User_Request::__construct( WP_Post|object $post )

Parameters Parameters

$post

(WP_Post|object) (Required) Post object.

Source Source

File: wp-includes/class-wp-user-request.php

	 * @var string
	 */
	public $confirm_key = '';

	/**
	 * Constructor.
	 *
	 * @since 4.9.6
	 *
	 * @param WP_Post|object $post Post object.
	 */
	public function __construct( $post ) {
		$this->ID                  = $post->ID;

Advertisement

Changelog Changelog

Changelog
Version Description
4.9.6 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.