Advertisement
Gaskabur

Conseguir el ID de un post WPML en base a su ID padre

Sep 16th, 2019
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.12 KB | None | 0 0
  1. $archive_page_id =  icl_object_id( $archive_page_id, get_post_type(), false, ICL_LANGUAGE_CODE ); // Returns the ID of the
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement