Skip to content

Instantly share code, notes, and snippets.

@iworks
Created March 5, 2023 06:09
Zmiana domyślnych sierotek
<?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