AlkantarClanX12

Your IP : 3.145.64.245


Current Path : /home/thanudqk/siampokernew.org/wp-content/plugins/the-post-grid/lib/classes/
Upload File :
Current File : //home/thanudqk/siampokernew.org/wp-content/plugins/the-post-grid/lib/classes/rtTPGHook.php

<?php
if ( ! class_exists( 'rtTPGHook' ) ):
	class rtTPGHook {

		function __construct() {
			add_filter( 'tpg_author_arg', array( $this, 'filter_author_args' ), 10 );
		}

		function filter_author_args( $args ) {
			$defaults = array( 'role__in' => array( 'administrator', 'editor', 'author' ) );

			return wp_parse_args( $args, $defaults );
		}

	}

endif;