Skip to content

Commit

Permalink
Include gp_convert_pt_ao90_always_create_variant_translation example …
Browse files Browse the repository at this point in the history
…in the main plugin file.
  • Loading branch information
pedro-mendonca committed Nov 30, 2023
1 parent 1013de6 commit f06f623
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gp-convert-pt-ao90.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@
* add_filter( 'gp_convert_pt_ao90_edit', '__return_false' );
*/

/**
* Always create the Variant translation.
* add_filter( 'gp_convert_pt_ao90_always_create_variant_translation', '__return_true' );
*/

// Define the PT AO90 Locale Variant as writable. Set to false to make it read-only.
add_action(
'wp_loaded',
Expand Down

0 comments on commit f06f623

Please sign in to comment.