PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
sitepress-multilingual-cms
/
classes
/
menu-elements
<?php abstract class WPML_TM_Post_Link_Anchor extends WPML_TM_Post_Link { /** @var string $anchor */ private $anchor; /** @var string $target */ private $target; /** * WPML_TM_Post_Link_Anchor constructor. * * @param SitePress $sitepress * @param int $post_id * @param string $anchor * @param string $target */ public function __construct( SitePress $sitepress, $post_id, $anchor, $target = '' ) { parent::__construct( $sitepress, $post_id ); $this->anchor = $anchor; $this->target = $target; } public function __toString() { $post = $this->sitepress->get_wp_api()->get_post( $this->post_id ); return ! $post || ( in_array( $post->post_status, array( 'draft', 'private', 'trash' ), true ) && $post->post_author != $this->sitepress->get_wp_api() ->get_current_user_id() ) ? '' : sprintf( '<a href="%s"%s>%s</a>', esc_url( $this->link_target() ), $this->target ? ' target="' . $this->target . '"' : '', esc_html( $this->anchor ) ); } protected abstract function link_target(); }
[-] class-wpml-lang-domains-box.php
[edit]
[-] class-wpml-tm-post-edit-link-anchor.php
[edit]
[-] PostTypesUI.php
[edit]
[-] class-wpml-tm-post-link-anchor.php
[edit]
[-] class-wpml-taxonomy-translation-screen-data.php
[edit]
[+]
post-edit-screen
[-] class-wpml-tm-post-view-link-title.php
[edit]
[-] class-wpml-custom-types-translation-ui.php
[edit]
[-] class-wpml-tm-post-link.php
[edit]
[-] class-wpml-inactive-content-render.php
[edit]
[-] class-wpml-support-page.php
[edit]
[-] class-wpml-tm-post-edit-custom-field-settings-menu.php
[edit]
[-] class-wpml-user-options-menu.php
[edit]
[-] class-wpml-admin-scripts-setup.php
[edit]
[-] class-wpml-tm-post-view-link-anchor.php
[edit]
[-] class-wpml-tm-post-link-factory.php
[edit]
[-] class-wpml-custom-columns-factory.php
[edit]
[+]
..
[-] class-wpml-translation-tree.php
[edit]
[-] class-wpml-taxonomy-translation-ui.php
[edit]
[-] PostLinkUrl.php
[edit]
[-] class-wpml-custom-columns.php
[edit]
[-] class-wpml-taxonomy-translation.php
[edit]