Hi,
try this here:
$hash = MslsOptions::create()->get_arr();
$hash has what you are looking for as a key-value-pair (language -> post_id).
Cheers,
Dennis.
Thread Starter
_wsb
(@_wsb)
Thank you for your reactivity, but I don’t have the context language.
I have an array of id (FR) and I want to to get a corresponding list with id (EN).
Ok, that’s another thing. If these are Posts try this:
$options = new MslsOptionsPost( $post_id );
$hash = $options->get_arr();
Thread Starter
_wsb
(@_wsb)
It belong of language context, in FR I have the right corresponding id but in EN it’s broken because I only use FR id.
I would like to get all corresponding id with FR id, whatever language context. Can I force language context to get an id ?
This functionality takes the values from the options-table of a blog. So just execute it in your fr-blog. Sorry, but I don’t get your problem … please provide all information of the use-case.