ID ); if ( ! $project_id ) { return false; } $content_id = \BeyondWords\Post\Meta::get_content_id( $post->ID ); $method = \BeyondWords\Settings\Fields::get_integration_method( $post ); return \BeyondWords\Settings\Fields::INTEGRATION_CLIENT_SIDE === $method || ( \BeyondWords\Settings\Fields::INTEGRATION_REST_API === $method && $content_id ); } }