%PDF- %PDF-
Direktori : /var/www/html/higroup/wp-content/plugins/event-tickets/common/src/Tribe/Duplicate/Strategy/ |
Current File : /var/www/html/higroup/wp-content/plugins/event-tickets/common/src/Tribe/Duplicate/Strategy/Base.php |
<?php /** * Class Tribe__Duplicate__Strategy__Base * * The common root for duplicate finding strategies. * * @since 4.6 */ abstract class Tribe__Duplicate__Strategy__Base { /** * Whether the key identifies a numerice post field or not. * * @param string $key * * @return bool * * @since 4.6 */ protected function is_a_numeric_post_field( $key ) { return in_array( $key, [ 'ID', 'post_author', 'post_parent', 'menu_order', 'comment_count' ] ); } }