\n"; $rules .= "Order Allow,Deny\n"; $rules .= "Allow from all\n"; $rules .= "\n"; break; } /** * Filter and return the htaccess rules used to allow or deny access * * @since 1.6 * * @param string $rules The contents of .htaccess * @param string $method The method (either direct|redirect) */ return apply_filters( 'edd_protected_directory_htaccess_rules', $rules, $method ); }