PluginProbe ʕ •ᴥ•ʔ
Pods – Custom Content Types and Fields / 3.2.2
Pods – Custom Content Types and Fields v3.2.2
trunk 1.14.8 2.7.31.3 2.8.23.3 2.9.19.3 3.0.10.3 3.1.4.1 3.2.0 3.2.1 3.2.1.1 3.2.2 3.2.4 3.2.5 3.2.6 3.2.7 3.2.7.1 3.2.8 3.2.8.1 3.2.8.2 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9
pods / src / Pods / REST / Interfaces / Post_Repository_Interface.php
pods / src / Pods / REST / Interfaces Last commit date
Endpoints 2 years ago Swagger 2 years ago Messages_Interface.php 2 years ago Post_Repository_Interface.php 2 years ago Validator_Interface.php 2 years ago
Post_Repository_Interface.php
24 lines
1 <?php
2
3 namespace Pods\REST\Interfaces;
4
5 /**
6 * Post Repository interface.
7 *
8 * @credit The Events Calendar team - https://github.com/the-events-calendar/tribe-common
9 *
10 * @since 2.8.0
11 */
12 interface Post_Repository_Interface {
13 /**
14 * Retrieves an array representation of the post.
15 *
16 * @since 3.0
17 *
18 * @param int $id The post ID.
19 *
20 * @return array An array representation of the post.
21 */
22 public function get_data( $id );
23 }
24