Created
March 5, 2023 06:09
-
-
Save iworks/2f55efaa94700ae2bdfe5abccc09a2fe to your computer and use it in GitHub Desktop.
Zmiana domyślnych sierotek
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Zmiana domyślnych sierotek | |
* | |
* https://wordpress.org/support/topic/zmiana-domyslnych-sierotek/ | |
* | |
* Chcę zamienić całą listę domyślnych sierotek na tylko te zaproponowane | |
* przeze mnie (a, i, o, u, w, z ). | |
* | |
*/ | |
add_filter( 'iworks_orphan_terms', function( $terms ) { | |
return array( 'a', 'i', 'o', 'u', 'w', 'z', ); | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment