PluginProbe ʕ •ᴥ•ʔ
Pods – Custom Content Types and Fields / 3.3.9.2
Pods – Custom Content Types and Fields v3.3.9.2
2.7.31.4 2.8.23.5 2.9.19.5 3.0.10.5 3.1.4.3 3.2.8.4 3.3.9.2 2.8.23.4 2.9.19.4 3.0.10.4 3.1.4.2 3.2.8.3 3.3.9.1 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 1 week ago Swagger 1 week ago Messages_Interface.php 1 week ago Post_Repository_Interface.php 1 week ago Validator_Interface.php 1 week ago
Post_Repository_Interface.php
29 lines
1 <?php
2
3 namespace Pods\REST\Interfaces;
4
5 // Don't load directly.
6 if ( ! defined( 'ABSPATH' ) ) {
7 die( '-1' );
8 }
9
10 /**
11 * Post Repository interface.
12 *
13 * @credit The Events Calendar team - https://github.com/the-events-calendar/tribe-common
14 *
15 * @since 2.8.0
16 */
17 interface Post_Repository_Interface {
18 /**
19 * Retrieves an array representation of the post.
20 *
21 * @since 3.0
22 *
23 * @param int $id The post ID.
24 *
25 * @return array An array representation of the post.
26 */
27 public function get_data( $id );
28 }
29