settings(); $agencoen_frequency = $agencoen_settings->get_sync_frequency(); $agencoen_seo_label = $data['seoPlugin']; /* * Local preferences only. Every control here is editable without a Rezolve Ai * account; the account itself lives on the Connection screen. The handful of * controls that do talk to the service (scheduled sync, auto-apply, the * optional daily crawler report) say so in place. */ $agencoen_offline = empty( $connected ); ?>
'block' ); $agencoen_choice = 'block'; if ( 'description' === $agencoen_dest['kind'] ) { $agencoen_choice = 'description:' . $agencoen_dest['position']; } elseif ( 'field' === $agencoen_dest['kind'] ) { $agencoen_choice = 'field:' . $agencoen_dest['field']['id']; } $agencoen_slug = str_replace( '-', '_', $agencoen_type ); $agencoen_label = isset( $agencoen_type_labels[ $agencoen_type ] ) ? $agencoen_type_labels[ $agencoen_type ] : $agencoen_type; $agencoen_placeable = in_array( $agencoen_type, \Agencoen\Settings::placeable_types(), true ); // A routed type's block is stored as hidden. Offering that back // when the merchant returns to the block would save it hidden // again, so the position starts at the default instead. $agencoen_position = $agencoen_placeable ? $agencoen_settings->get_placement( $agencoen_type ) : ''; if ( 'block' !== $agencoen_dest['kind'] && 'hidden' === $agencoen_position ) { $agencoen_position = 'below_description'; } ?>
' . esc_html( $agencoen_seo_label ) . '' ); ?>