Support » Plugin: Ceceppa Multilingua » function to set post language

  • maxpontello



    I use the Postie plugin to load articles from a mailbox and publish them on WP. Is it available a function to set the language of a post starting from its ID? I would invoke this function from Postie as soon as the article arrives.

    Thank you for any suggestion

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Alessandro Senese


    Now you can’t do it…
    I can add 2 function for set/get language from post ID in next update…



    My opinion is that adding functions of automatic set up of the language increases considerably the versatility of the plugin.

    Thank you a lot,

    Plugin Author Alessandro Senese


    I added the following functions:
    *) cml_get_language_by_slug
    *) cml_get_language_of_post
    *) cml_set_language_of_post

    You can find the complete documentation in “Ceceppa Multilingua” -> “Shortcode & Functions”

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘function to set post language’ is closed to new replies.