mwform_get_inquiry_data_args-

mwform_get_inquiry_data_args-

Hook Type: filter

See hook in core

Displaying hooks found in version: mw-wp-form.5.1.0

apply_filters('mwform_get_inquiry_data_args-') is found 6 times:

  • /classes/controllers/class.chart.php line 136
    	 */
    	public function _index() {
    		$post_type = $this->formkey;
    
    		$args = apply_filters( 'mwform_get_inquiry_data_args-' . $post_type, array() );
    		if ( empty( $args ) || ! is_array( $args ) ) {
    			$args = array();
    		}
    		$args = array_merge(
    			$args,
    			array(
    
  • /classes/controllers/class.contact-data-list.php line 69
     
    		$post_type   = $wp_query->get( 'post_type' );
    		$post_status = $wp_query->get( 'post_status' );
    
    		$args = apply_filters( 'mwform_get_inquiry_data_args-' . $post_type, array() );
    		if ( empty( $args ) || ! is_array( $args ) ) {
    			$args = array();
    		}
    		$args = array_merge(
    			$args,
    			array(
    
  • /classes/controllers/class.contact-data-list.php line 130
    	 * @param string $type   Post type.
    	 * @return object
    	 */
    	public function _wp_count_posts( $counts, $type ) {
    		$args = apply_filters( 'mwform_get_inquiry_data_args-' . $type, array() );
    		if ( empty( $args ) || ! is_array( $args ) ) {
    			$args = array();
    		}
    
    		$args = array_merge(
    			$args,
    
  • /classes/controllers/class.contact-data.php line 27
    		if ( ! in_array( $screen->id, $contact_data_post_types, true ) ) {
    			exit;
    		}
    
    		$args = apply_filters( 'mwform_get_inquiry_data_args-' . $screen->post_type, array() );
    		if ( empty( $args ) || ! is_array( $args ) ) {
    			$args = array();
    		}
    
    		$_post_id = null;
    		if ( isset( $_GET['post'] ) ) {
    
  • /classes/controllers/class.stores-inquiry-data-form-list.php line 52
    	 * @param string $post_type Post type.
    	 * @return int
    	 */
    	protected function _get_count( $post_type ) {
    		$args = apply_filters( 'mwform_get_inquiry_data_args-' . $post_type, array() );
    		if ( empty( $args ) || ! is_array( $args ) ) {
    			$args = array();
    		}
    		$args  = array_merge(
    			$args,
    			array(
    
  • /classes/models/class.csv.php line 55
    	protected function _generate_csv() {
    		$posts_per_page = $this->_get_posts_per_page();
    		$paged          = $this->_get_paged();
    
    		$args = apply_filters( 'mwform_get_inquiry_data_args-' . $this->post_type, array() );
    		if ( empty( $args ) || ! is_array( $args ) ) {
    			$args = array();
    		}
    		$args = array_merge(
    			$args,
    			array(