/llms.txt yet. You can still curate the file here — turn the feature on in %s to publish it.', 'aj-agent-crawl-optimizer' ), array( 'code' => array(), 'a' => array( 'href' => array() ), ) ), '' . esc_html__( 'Agent Ready → Settings', 'aj-agent-crawl-optimizer' ) . '' ); ?>

$label ) : $section = llms_section_config( $config, $type, $label ); $base = 'ajaco_llms_config[sections][' . $type . ']'; $id = 'ajaco-llms-' . $type; $hierarchical = is_post_type_hierarchical( $type ); ?>
/>
/> />

  • —
  • —
  • —


				
*/ function llms_order_labels(): array { return array( 'recent' => __( 'Newest first', 'aj-agent-crawl-optimizer' ), 'menu' => __( 'Menu order', 'aj-agent-crawl-optimizer' ), 'title' => __( 'Title (A–Z)', 'aj-agent-crawl-optimizer' ), ); } /** * The stored section config for a post type, or a sane blank row for a type * the owner has never configured (a newly registered CPT, say). * * @param array $config Normalized config. * @param string $type Post type slug. * @param string $label Post type label (used as the default heading). * @return array */ function llms_section_config( array $config, string $type, string $label ): array { if ( isset( $config['sections'][ $type ] ) && is_array( $config['sections'][ $type ] ) ) { return $config['sections'][ $type ]; } return array( 'enabled' => false, 'heading' => $label, 'count' => 10, 'order' => 'recent', 'top_level' => is_post_type_hierarchical( $type ), 'show_date' => false, ); }