wcvendors_pro_restrict_manage_posts_path

Description

apply_filters( 'wcvendors_pro_restrict_manage_posts_path', 'partials/vendor/wcvendors-pro-vendor-dropdown.php' )

Parameters (1) (string)

Usage Examples

To run the filter, copy this sample

$str = apply_filters( 'wcvendors_pro_restrict_manage_posts_path', $param );
  if ( ! empty( $str ) ) {

    // what has been modified...

}

To make a callback function, copy this sample

// the filter_wcvendors_pro_restrict_manage_posts_path  callback
function filter_wcvendors_pro_restrict_manage_posts_path( $arg ) {
  // do your thing here :-) ... 

  return $str;
}
add_filter( 'wcvendors_pro_restrict_manage_posts_path', 'filter_wcvendors_pro_restrict_manage_posts_path', 10, 2 );

To remove the filter, copy this sample

 //remove the filter
remove_filter( 'wcvendors_pro_restrict_manage_posts_path', 'filter_wcvendors_pro_restrict_manage_posts_path', 10, 2 );

Defined

This filter is defined in the following source file(s)

  • wcvendors-pro/admin/class-wcvendors-pro-admin-vendor-controller.php line 259
    include( apply_filters( 'wcvendors_pro_restrict_manage_posts_path', 'partials/vendor/wcvendors-pro-vendor-dropdown.php' ) );

filters

Updated on January 7, 2017

Was this article helpful?