Méthode | Description | |
---|---|---|
__construct ( Inpsyde\MultilingualPress\API\ContentRelations $content_relations ) | Constructor. Sets up the properties. | |
handle_connect_existing_post ( ) : void | Connects the current post with an existing remote one. | |
handle_connect_new_post ( ) : void | Connects the current post with a new remote one. | |
handle_disconnect_post ( ) : void | Disconnects the current post and the one given in the request. | |
initialize ( ) : void | Initializes the relationship controller. |
Méthode | Description | |
---|---|---|
connect_existing_post ( ) : boolean | Connects the current post with an existing remote one. | |
connect_new_post ( ) : boolean | WP_Erro\WP_Error | Connects the current post with a new remote one. | |
disconnect_post ( ) : void | Disconnects the current post with the one given in the request. | |
get_callback ( ) : callable | Returns the appropriate callback for the current action. | |
get_real_post_type ( WP_Post $post ) : string | Returns the post type of the "real" post according to the given one. |
public __construct ( Inpsyde\MultilingualPress\API\ContentRelations $content_relations ) | ||
$content_relations | Inpsyde\MultilingualPress\API\ContentRelations | Content relations API object. |
public handle_connect_existing_post ( ) : void | ||
Résultat | void |
public handle_connect_new_post ( ) : void | ||
Résultat | void |
public handle_disconnect_post ( ) : void | ||
Résultat | void |
public initialize ( ) : void | ||
Résultat | void |