thorization' => 'Bearer YOUR_API_TOKEN', ), ), ) ); new WPCOM_JSON_API_Update_Post_v1_1_Endpoint( array( 'description' => 'Restore a post or page from the trash to its previous status.', 'group' => 'posts', 'stat' => 'posts:1:restore', 'min_version' => '1.1', 'max_version' => '1.1', 'method' => 'POST', 'path' => '/sites/%s/posts/%d/restore', 'path_labels' => array( '$site' => '(int|string) Site ID or domain', '$post_ID' => '(int) The post ID', ), 'example_request' => 'https://public-api.wordpress.com/rest/v1.1/sites/82974409/posts/$post_ID/restore/', 'example_request_data' => array( 'headers' => array( 'authorization' => 'Bearer YOUR_API_TOKEN', ), ), ) ); // phpcs:disable PEAR.NamingConventions.ValidClassName.Invalid /** * Update post v1.1 endpoint class. */ class WPCOM_JSON_API_Update_Post_v1_1_Endpoint extends WPCOM_JSON_API_Post_v1_1_Endpoint { /** * WPCOM_JSON_API_Update_Post_v1_1_Endpoint constructor. * * @param array $args Args. */ public function __construct( $args ) { parent::__construct( $args ); if ( $this->api->ends_with( $this->path, '/delete' ) ) { $this->post_object_format['status']['deleted'] = 'The post has been deleted permanently.'; } } /** * Update post API v1.1 callback. * * /sites/%s/posts/new -> $blog_id * /sites/%s/posts/%d -> $blog_id, $post_id * /sites/%s/posts/%d/delete -> $blog_id, $post_id * /sites/%s/posts/%d/restore -> $blog_id, $post_id * * @param string $path API path. * @param int $blog_id Blog ID. * @param int $post_id Post ID. * * @return array|bool|WP_Error */ public function callback( $path = '', $blog_id = 0, $post_id = 0 ) { $blog_id = $this->api->switch_to_blog_and_validate_user( $this->api->get_blog_id( $blog_id ) ); if ( is_wp_error( $blog_id ) ) { return $blog_id; } if ( $this->api->ends_with( $path, '/delete' ) ) { return $this->delete_post( $path, $blog_id, $post_id ); } elseif ( $this->api->ends_with( $path, '/restore' ) ) { return $this->restore_post( $path, $blog_id, $post_id ); } else { return $this->write_post( $path, $blog_id, $post_id ); } } /** * Create or update a post. * * /sites/%s/posts/new -> $blog_id * /sites/%s/posts/%d -> $blog_id, $post_id * * @param string $path API path. * @param int $blog_id Blog ID. * @param int $post_id Post ID. */ public function write_post( $path, $blog_id, $post_id ) { $delete_featured_image = null; $media_results = array(); $post = null; global $wpdb; $new = $this->api->ends_with( $path, '/new' ); $args = $this->query_args(); // unhook publicize, it's hooked again later -- without this, skipping services is impossible. if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) { remove_action( 'save_post', array( $GLOBALS['publicize_ui']->publicize, 'async_publicize_post' ), 100, 2 ); add_action( 'rest_api_inserted_post', array( $GLOBALS['publicize_ui']->publicize, 'async_publicize_post' ) ); if ( $this->should_load_theme_functions( $post_id ) ) { $this->load_theme_functions(); } } if ( $new ) { $input = $this->input( true ); // 'future' is an alias for 'publish' for now if ( 'future' === $input['status'] ) { $input['status'] = 'publish'; } // default to post. if ( empty( $input['type'] ) ) { $input['type'] = 'post'; } if ( 'revision' === $input['type'] ) { if ( ! isset( $input['parent'] ) ) { return new WP_Error( 'invalid_input', 'Invalid request input', 400 ); } $input['status'] = 'inherit'; // force inherit for revision t Projects -

projects

SAN FRANCISCO - 1645 PACIFIC

STATUS: Under Construction

LOCATION: San Francisco, CA

CLIENT: 1645 Pacific HOA

We are thrilled to announce that EJR Group is collaborating with 1645 Pacific Homeowners Association as their Project Management Team. Our team is overseeing a comprehensive range of improvements, including:

  • Exterior carpentry and stucco repairs
  • Interior molding repairs
  • Exterior painting.

mesa - goodwill

STATUS: Grand Opening November 2023

LOCATION: Mesa, AZ

CLIENT: Red Mountain Group

A new 10,000-square-foot shell delivery for Goodwill in Mesa, AZ, in an existing shopping center at Main and Lindsay. 

bays edge Townhomes

STATUS: Phase 1 Horizontal Grading and Utilities underway. Phase 2 Vertical Construction Q2 2024.

LOCATION: Martinez, CA

EST. VALUATION: $21.4 MILLON

The project is an urban infill development in the unincorporated section of the City of Martinez. It spans 1.49 acres and includes two parcels with 30 townhome units.

French Valley Commons

STATUS: Phase 1A and B Complete, Phase 1C Construction Start Q4 2023, Phase 2 in Permitting.

LOCATION: Winchester, CA

CLIENT/OWNER: W Development Partners of Temecula

EST. VALUATION: $42 MILLON

A 14-acre retail and flex industrial use project in the under-served French Valley Area in Inland Empire.

french Valley Commons - Phase 1A

STATUS: Completed Q2 2021

DOLLAR TREE: 9,999 SF – Vanilla Shell Delivery (SOLD)

O’REILLY AUTO: 7,453 SF – Built-A-Suit (SOLD)

PLATINUM AUTO: 22,664 SF – Industrial Built-A-Suit (SOLD)

LOCATION: Winchester, CA

CLIENT: W Development Partners of Temecula

French Valley commons - Phase 1B

STATUS: Completed Q4 2022

S2 MULTI-TENANT: 5,800 SF – Grey Shell Delivery

JIFFY LUBE: 3,033 SF – Built-A-Suit (SOLD)

B2 WAREHOUSE – 13,069 SF Industrial Shell w/ Office Delivery

LOCATION: Winchester, CA

CLIENT: W Development Partners of Temecula

Vista - Fast Food SHELL DELIVERY

STATUS: Shell Delivery Q2 2022

LOCATION: Vista, California

CLIENT/OWNER: Centers Dynamics

ASSET: Existing Bank Reposition

This property is ideally situated on S. Santa Fe Ave and Civic Center Drive in Vista, Ca, San Diego County.  Development Strategy was to reposition the existing bank building with only permitted drive-thru on Santa Fe Ave into a food user. 

Sonoma Ranch Marketplace

STATUS: Completed Starbucks  2018, Carl’s Jr 2019

LOCATION: Las Cruces, New Mexico

CLIENT/OWNER: Family Owned

EST. VALUATION: $15 MILLION

This is an 11-acre Commercial Retail Center located in Las Cruces, New Mexico. The site is located adjacent to I-70 at the corner of Bataan and Sonoma Ranch Blvd, which leads into a large, growing residential community. 

pleasanton - porky's pizza palace

STATUS: Completed 2019

LOCATION: Pleasanton CA

CLIENT/OWNER: Porky’s Pizza Palace

Porky’s Pizza Palace is a family-run Pizza Restaurant with its original location in San Leandro, CA. The family opened their second location in Pleasanton. EJR Group was their Tenant Representative for their Tenant Improvements. Improvements included a complete remodel of the Interior; kitchen, office, bathrooms, bar, dining, and outdoor patio furnishings.

village in the park

STATUS: Under various construction since 2016
LOCATION: Daly City CA
CLIENT/OWNER: VIP HOA

EJR Group is excited to be working with Village in the Park HOA. We are currently the Construction Management Team for their extensive Roofing, Dry Rot, and Paint, Retaining Wall Replacement, and Rampart Way projects. Village in the Park is a residential community in Daly City featuring over 300 units.

Wildomar Crossings

STATUS: Entitled 2019, Permits 2020. 
LOCATION: Wildomar, Ca
CLIENT/OWNER: Wildomar Crossings, LLC

Wildomar Crossings in Wildomar, California. It is an approximately 3.29 gross acre ground-up retail development project with 26,204 square feet of retail space. It is located on the NWC of Clinton Keith and Stable Lane, approximately ¼ mile from the I-15 freeway entrance/exit.

Because Commercial Real Estate Development is Complicated.