PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
sitepress-multilingual-cms
/
classes
/
menu-elements
<?php /** * Class WPML_TM_Post_Link_Factory * * Creates post links for the TM dashboard and the translation queue */ class WPML_TM_Post_Link_Factory { /** @var SitePress $sitepress */ private $sitepress; public function __construct( SitePress $sitepress ) { $this->sitepress = $sitepress; } /** * Link to the front end, link text is the post title * * @param int $post_id * * @return string */ public function view_link( $post_id ) { return (string) ( new WPML_TM_Post_View_Link_Title( $this->sitepress, (int) $post_id ) ); } /** * Link to the front end, link text is given by the anchor * * @param int $post_id * @param string $anchor * * @return string */ public function view_link_anchor( $post_id, $anchor, $target = '' ) { return (string) ( new WPML_TM_Post_View_Link_Anchor( $this->sitepress, (int) $post_id, $anchor, $target ) ); } /** * Link to the backend, link text is given by the anchor * * @param int $post_id * @param string $anchor * * @return string */ public function edit_link_anchor( $post_id, $anchor ) { return (string) ( new WPML_TM_Post_Edit_Link_Anchor( $this->sitepress, (int) $post_id, $anchor ) ); } }
[-] 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]