get( $post_id, $process_data ); } /** * Returns the AdRepository instance from the plugin's global state. * * @return AdRepository */ function adpresso_get_ad_repository(): AdRepository { return Plugin::get()->globals[ AdRepository::class ]; }