ldc-groupe/content/plugins/wpml-translation-management/classes/menu-elements/class-wpml-tm-post-view-link-anchor.php
Vincent BRIDIER 134507db43 - Backup DEV
- Add DotEnv
- Fix Bato
- Etc..
2020-05-04 15:59:02 +02:00

15 lines
No EOL
331 B
PHP

<?php
/**
* Class WPML_TM_Post_View_Link_Anchor
*
* Creates post links with a given anchor text, pointing at the front-end
* post view
*/
class WPML_TM_Post_View_Link_Anchor extends WPML_TM_Post_Link_Anchor {
protected function link_target() {
return $this->sitepress->get_wp_api()->get_permalink( $this->post_id );
}
}