$enabled
$enabled :
Language specific action and filters to sync them language-wide. The earliest time you can instance this class is `plugins_loaded`.
$compLanguage :\DevOwl\Multilingual\AbstractSyncPlugin
Abstract language implementation.
__construct(array $posts,array $taxonomies,\DevOwl\Multilingual\AbstractSyncPlugin $compLanguage)
C'tor.
array | $posts | |
array | $taxonomies | |
\DevOwl\Multilingual\AbstractSyncPlugin | $compLanguage |
updated_term_meta(integer $meta_id,integer $term_id,string $meta_key,mixed $meta_value)
Sync a set of copyable metas to other languages for defined taxonomies.
integer | $meta_id | ID of updated metadata entry. |
integer | $term_id | Term ID. |
string | $meta_key | Metadata key. |
mixed | $meta_value | Metadata value. This will be a PHP-serialized string representation of the value if the value is an array, an object, or itself a PHP-serialized string. |
updated_postmeta(integer $meta_id,integer $post_id,string $meta_key,mixed $meta_value)
Sync a set of copyable metas to other languages for defined post types.
integer | $meta_id | ID of updated metadata entry. |
integer | $post_id | Post ID. |
string | $meta_key | Metadata key. |
mixed | $meta_value | Metadata value. This will be a PHP-serialized string representation of the value if the value is an array, an object, or itself a PHP-serialized string. |