1'; } } unset( $item ); } unset( $items ); } /** Plain-language capability statement for the approved manual listing workflow. */ public static function render_local_capability_note() { if ( 'ai-o-optimiser-local-discovery' !== self::page() || ! current_user_can( self::capability() ) || ! class_exists( 'AI_O_Optimiser_Local_Discovery', false ) ) { return; } $location_id = isset( $_GET['location_id'] ) ? sanitize_key( wp_unslash( $_GET['location_id'] ) ) : ''; // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- read-only workspace context. $identity = AI_O_Optimiser_Local_Discovery::identity( $location_id ); $areas = isset( $identity['service_areas'] ) && is_array( $identity['service_areas'] ) ? array_values( array_filter( $identity['service_areas'] ) ) : array(); ?>

12 ? esc_html__( ' …', 'ai-o-optimiser' ) : ''; ?>

'Let AI-O assess how this site is structured', 'AI-O Optimiser can weigh the operating model, subject domain and common entity family together instead of relying only on post-type names or asking you to know the taxonomy in advance.' => 'AI-O can weigh the operating model, subject domain and common entity family together instead of relying only on post-type names or asking you to know the taxonomy in advance.', 'Choose the primary domain. This helps AI-O Optimiser explain likely entity families, while exact Schema.org types remain controlled by the semantic mappings on the Schema screen.' => 'Choose the primary domain. This helps AI-O explain likely entity families, while exact Schema.org types remain controlled by the semantic mappings on the Schema screen.', ); return isset( $replacements[ $text ] ) ? $replacements[ $text ] : $translation; } }