get_custom_directives(); $robots_output = Smartcrawl_Controller_Robots::get()->get_robot_file_contents(); ?>
settings_fields( $_view['option_name'] ); ?>

_render( 'notice', array( 'class' => 'sui-notice-info', 'message' => smartcrawl_format_link( esc_html__( 'Your robots.txt is active and visible to bots. You can view it at %s', 'wds' ), smartcrawl_get_robots_url(), smartcrawl_get_robots_url(), '_blank' ), ) ); ?>

_render( 'toggle-item', array( 'field_name' => sprintf( '%s[%s]', $option_name, 'sitemap_directive_disabled' ), 'field_id' => 'sitemap_directive_disabled', 'checked' => $sitemap_directive_disabled, 'item_label' => esc_html__( 'Link to my Sitemap', 'wds' ), 'inverted' => true, 'sub_settings_template' => 'advanced-tools/advanced-robots-custom-sitemap-url-setting', 'sub_settings_template_args' => array( 'option_name' => $option_name, 'sitemap_enabled' => $sitemap_enabled, 'custom_sitemap_url' => $custom_sitemap_url, ), ) ); ?>