PHP Class Mlp_Helpers

Changelog 0.8 - added show_current_blog / added params for show_linked_elements - removed get_linked_elements request for is_home - added filter to remove the static ?noredirect= parameter 0.7 - Added mlp_get_interlinked_permalinks - Added mlp_get_blog_language 0.6 - Codexified - Fixed Notices 0.5.2a - Initial Commit
Inheritance: extends Multilingual_Press
Afficher le fichier Open project: inpsyde/multilingual-press Class Usage Examples

Méthodes publiques

Méthode Description
get_interlinked_permalinks ( integer $element_id, string $type = '' ) : array Get the element ID in other blogs for the selected element with additional information.
insert_dependency ( string $name, object $instance ) : void
show_linked_elements ( array $args ) : string Get the linked elements and display them as a list.

Method Details

insert_dependency() public static méthode

public static insert_dependency ( string $name, object $instance ) : void
$name string
$instance object
Résultat void

show_linked_elements() public static méthode

Get the linked elements and display them as a list.
public static show_linked_elements ( array $args ) : string
$args array
Résultat string