HEX
Server: Apache
System: Linux digivps 5.15.0-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC 2025 x86_64
User: www (1000)
PHP: 8.3.15
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/healthyton.com/wp-content/plugins/bulk-post-update-date/custom.php
<?php defined( 'ABSPATH' ) or die( 'No script kiddies please!' ); 

$args = array(
    'public'   => $type == 'web-story' ? false : true,
    '_builtin' => false,
    'object_type' => [
        $type
    ],
    // 'hierarchical' => true
     
  ); 
  $output = 'objects'; // or objects
  $operator = 'and'; // 'and' or 'or'
  $taxonomies = get_taxonomies( $args, $output, $operator ); 

            if ( $taxonomies ) {
                foreach ( $taxonomies  as $taxonomy ) {
               

?>
                <tr valign="top">
                    <th scope="row"><label for="tax_<?php echo $taxonomy->name; ?>" ><?php _e( 'Select ' . $taxonomy->label, 'bulk-post-update-date' ); ?></label></th>
                    <td>

                        <select multiple="multiple" id="tax_<?php echo $taxonomy->name; ?>" name="tax[<?php echo $taxonomy->name; ?>][]">

		                    <?php
		                    $args       = array(
			                    'orderby' => 'name',
                                'taxonomy' => $taxonomy->name
                               // 'exclude' => '1'
		                    );
		                    $terms = get_terms( $args );
		                    foreach ( $terms as $term ) { ?>

                                <option value="<?php echo $term->term_id; ?>">
				                    <?php echo $term->name . ' (' . $term->count . ')'; ?>
                                </option>
		                    <?php } //endforeach ?>
                        </select>
                            <p class="description">
                            <?php _e( 'Will apply on all posts if no '. $taxonomy->labels->singular_name .' is selected. Select multiple '. $taxonomy->label .' by holding Ctrl or Command key while selecting.', 'bulk-post-update-date' ); ?>
                        </p>
                    </td>
                </tr>

<?php } 

if(count($taxonomies) > 1){
    ?>


<tr id="tax_relation_row" valign="top" >
                    <th scope="row"><label for="tax_relation"><?php _e( 'Taxonomies relation', 'bulk-post-update-date' ); ?></label></th>
                    <td>
                    
                        <input type="radio" id="OR" name="tax_relation" value="OR" checked>
                        <label for="OR"><?php _e( 'OR', 'bulk-post-update-date' ); ?></label>
                        
                        <input type="radio" id="AND" name="tax_relation" value="AND">
                        <label for="AND"><?php _e( 'AND', 'bulk-post-update-date' ); ?></label>

                        <p class="description">
                        <?php _e( 'OR will include any posts having any one parameter. AND will include only posts which have all taxonimies', 'bulk-post-update-date' ); ?>
                        </p>
                    </td>
                </tr>


<?php }

}?>