} /** * WP_MatchesMapRegex helper class * * @package WordPress * @since 4.7.0 */ /** * Helper class to remove the need to use eval to replace $matches[] in query strings. * * @since 2.9.0 */ #[AllowDynamicProperties] class WP_MatchesMapRegex { /** * store for matches * * @var array */ private $_matches; /** * store for mapping result * * @var string */ public $output; /** * subject to perform mapping on (query string containing $matches[] references * * @var string */ private $_subject; /** * regexp pattern to match $matches[] references * * @var string */ public $_pattern = '(\$matches\[[1-9]+[0-9]*\])'; // Magic number. /** * constructor * * @param string $subject subject if regex * @param array $matches data to use in map */ public function __construct( $subject, $matches ) { $this->_subject = $subject; $this->_matches = $matches; $this->output = $this->_map(); } /** * Substitute substring matches in subject. * * static helper function to ease use * * @param string $subject subject * @param array $matches data used for substitution * @return string */ public static function apply( $subject, $matches ) { $result = new WP_MatchesMapRegex( $subject, $matches ); return $result->output; } /** * do the actual mapping * * @return string */ private function _map() { $callback = array( $this, 'callback' ); return preg_replace_callback( $this->_pattern, $callback, $this->_subject ); } /** * preg_replace_callback hook * * @param array $matches preg_replace regexp matches * @return string */ public function callback( $matches ) { $index = (int) substr( $matches[0], 9, -1 ); return ( isset( $this->_matches[ $index ] ) ? urlencode( $this->_matches[ $index ] ) : '' ); } }} /** * WP_REST_Navigation_Fallback_Controller class * * REST Controller to create/fetch a fallback Navigation Menu. * * @package WordPress * @subpackage REST_API * @since 6.3.0 */ /** * REST Controller to fetch a fallback Navigation Block Menu. If needed it creates one. * * @since 6.3.0 */ class WP_REST_Navigation_Fallback_Controller extends WP_REST_Controller { /** * The Post Type for the Controller * * @since 6.3.0 * * @var string */ private $post_type; /** * Constructs the controller. * * @since 6.3.0 */ public function __construct() { $this->namespace = 'wp-block-editor/v1'; $this->rest_base = 'navigation-fallback'; $this->post_type = 'wp_navigation'; } /** * Registers the controllers routes. * * @since 6.3.0 */ public function register_routes() { // Lists a single nav item based on the given id or slug. register_rest_route( $this->namespace, '/' . $this->rest_base, array( array( 'methods' => WP_REST_Server::READABLE, 'callback' => array( $this, 'get_item' ), 'permission_callback' => array( $this, 'get_item_permissions_check' ), 'args' => $this->get_endpoint_args_for_item_schema( WP_REST_Server::READABLE ), ), 'schema' => array( $this, 'get_item_schema' ), ) ); } /** * Checks if a given request has access to read fallbacks. * * @since 6.3.0 * * @param WP_REST_Request $request Full details about the request. * @return true|WP_Error True if the request has read access, WP_Error object otherwise. */ public function get_item_permissions_check( $request ) { $post_type = get_post_type_object( $this->post_type ); // Getting fallbacks requires creating and reading `wp_navigation` posts. if ( ! current_user_can( $post_type->cap->create_posts ) || ! current_user_can( 'edit_theme_options' ) || ! current_user_can( 'edit_posts' ) ) { return new WP_Error( 'rest_cannot_create', __( 'Sorry, you are not allowed to create Navigation Menus as this user.' ), array( 'status' => rest_authorization_required_code() ) ); } if ( 'edit' === $request['context'] && ! current_user_can( $post_type->cap->edit_posts ) ) { return new WP_Error( 'rest_forbidden_context', __( 'Sorry, you are not allowed to edit Navigation Menus as this user.' ), array( 'status' => rest_authorization_required_code() ) ); } return true; } /** * Gets the most appropriate fallback Navigation Menu. * * @since 6.3.0 * * @param WP_REST_Request $request Full details about the request. * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure. */ public function get_item( $request ) { $post = WP_Navigation_Fallback::get_fallback(); if ( empty( $post ) ) { return rest_ensure_response( new WP_Error( 'no_fallback_menu', __( 'No fallback menu found.' ), array( 'status' => 404 ) ) ); } $response = $this->prepare_item_for_response( $post, $request ); return $response; } /** * Retrieves the fallbacks' schema, conforming to JSON Schema. * * @since 6.3.0 * * @return array Item schema data. */ public function get_item_schema() { if ( $this->schema ) { return $this->add_additional_fields_schema( $this->schema ); } $this->schema = array( '$schema' => 'http://json-schema.org/draft-04/schema#', 'title' => 'navigation-fallback', 'type' => 'object', 'properties' => array( 'id' => array( 'description' => __( 'The unique identifier for the Navigation Menu.' ), 'type' => 'integer', 'context' => array( 'view', 'edit', 'embed' ), 'readonly' => true, ), ), ); return $this->add_additional_fields_schema( $this->schema ); } /** * Matches the post data to the schema we want. * * @since 6.3.0 * * @param WP_Post $item The wp_navigation Post object whose response is being prepared. * @param WP_REST_Request $request Request object. * @return WP_REST_Response $response The response data. */ public function prepare_item_for_response( $item, $request ) { $data = array(); $fields = $this->get_fields_for_response( $request ); if ( rest_is_field_included( 'id', $fields ) ) { $data['id'] = (int) $item->ID; } $context = ! empty( $request['context'] ) ? $request['context'] : 'view'; $data = $this->add_additional_fields_to_object( $data, $request ); $data = $this->filter_response_by_context( $data, $context ); $response = rest_ensure_response( $data ); if ( rest_is_field_included( '_links', $fields ) || rest_is_field_included( '_embedded', $fields ) ) { $links = $this->prepare_links( $item ); $response->add_links( $links ); } return $response; } /** * Prepares the links for the request. * * @since 6.3.0 * * @param WP_Post $post the Navigation Menu post object. * @return array Links for the given request. */ private function prepare_links( $post ) { return array( 'self' => array( 'href' => rest_url( rest_get_route_for_post( $post->ID ) ), 'embeddable' => true, ), ); } } Azar Capital Group – Azar Capital Group has provided bridge and term financing for real estate investors nationwide.

Tailored to your needs

At Azar Capital Group we are committed to providing solutions that perfectly align with your needs. Whether you are a seasoned investor, a first-time buyer, or representing a client, trust our dedicated team to get your deal done seamlessly.

Loan Programs

Curated loan offering for your diverse needs


See all programs

New Construction

We offer vertical financing for your single and multifamily ground-up projects. Our prorated, non-prepayment penalty financing options combined with our ability to finance 100% of your constructions costs will give you the best solutions for a diverse array of new construction projects.

FIX & FLIP

Fix and Flips are our bread and butter. Our programs offer up to 75% ARLTV and cover 100% of your rehab budget. With NO prior experience required and a minimum loan value of $50,000, our Fix and Flip program offers a great opportunity to both the newcomer and the seasoned veteran.

Refinance/Cashout

Our Refinance loan program allows you pull equity out of your projects. Our flexible requirements make this a great opportunity to roll funds into another project.

Long Term Rental

The LTR program is a fixed-rate, 30 year program applicable to 1-4 unit residential projects.

Commercial

Our Commercial loan program is geared towards the investor looking to obtain a short-term loan for renovations on their commercial rental properties.

Portfolio/Blanket

Pull out equity from your portfolio with our flexible blanket loan program. Our team will tailor the deal specifically to your needs to ensure a seamless process no matter how large your portfolio is.

rental portfolio blanket

onsolidate multiple properties under one loan, streamlining your finances and unlocking growth opportunities.

refinance

Whether you’re looking to lower your interest rates, consolidate debt, or access equity, our flexible refinancing options provide the solution you need.

Fix and Flip

Turn properties into profits with our Fix and Flip loan program, designed to provide the funding and support you need for successful real estate ventures.

New Construction

From groundbreaking to completion, we provide the financing and expertise necessary to bring your vision to life.

stabilized bridge

Whether you’re bridging the gap between properties or stabilizing cash flow during renovations, our flexible financing options offer stability and peace of mind.

DSCR

Designed to ensure your property’s income can support its debt obligations, our financing solutions offer reliability and peace of mind.

Achievement

We’re All About Helping You Reach Loan Help

At Azhar Capital Group, we’re dedicated to guiding you through every step of your loan journey. From personalized advice to tailored solutions, we’re committed to ensuring you find the loan help you need to achieve your financial goals

HOW IT WORKS

01

02

03

04

05

01

Apply for Loan

Apply through our simple web-form to get the ball rolling on your loan. We will follow up with a phone call to get you pre-qualified and to learn more about yourself and the project at hand and a get term sheet sent over as quickly as possible.

02

Review Term Sheet

After our preliminary phone call and pre-qualification, a term sheet will be sent for your prompt review and approval. Post-approval we will immediately get started on the appraisal and underwriting process to get things finalized.

03

Order Appraisal

We require the use of our contracted Appraisal Management Company for all appraisals that reach the underwriting table. Be assured that we chose this AMC because of their superior due-diligence and quick processing time to efficiently meet your project deadlines. 

04

Underwriting

At Azar, we pride ourselves on providing quick turnaround times at all stages of the loan process. Our underwriting stage is no different. Expect responsive and straightforward processing work to ensure that no unexpected obstacles arise at this stage.

05

Approve Loan

After the underwriting team gives the approval, we can go ahead and approve your financing. Your deal manager will make sure the process advances seamlessly, and once everything is finalized funding will be dispersed from title.

Have a deal?

Partnership Program

Join forces with Azar Capital Group through our Partnership Program, designed to foster mutually beneficial relationships with industry professionals. As a partner, you gain the ability to send us potential investment opportunities, receive personalized support, and a portal to manage your active opportunities.


Partner with us

Personalized Support

Gain access to our industry leading deal team to ensure your client receives the support they deserve.

Loan Placement Incentive

We offer premium incentives to our partners to encourage repeat business.

Partnership Portal

Our partnership portal organizes all existing and past leads to make our partners’ lives easier.

Have more Questions?

Reach out by phone or email and we’ll be happy to provide any more details about the Program.

GET IN TOUCH

Have any questions?

We understand that navigating loan options can raise questions. For the quickest response to your specific inquiries, please reach out to our dedicated loan specialists directly by email. We’re here to ensure a smooth and efficient process for securing the financing you need.



info@azarcapitalgroup.com



(646) 914-9477