add_help_tab( array( 'id' => 'relevanssi-boolean', 'title' => __( 'Boolean operators', 'relevanssi' ), 'content' => '', ) ); /* Translators: first placeholder is the_permalink(), the second is relevanssi_the_permalink() */ $permalinks_to_users = sprintf( esc_html__( "Permalinks to user profiles may not always work on search results templates. %1\$s should work, but if it doesn't, you can replace it with %2\$s.", 'relevanssi' ), 'the_permalink()', 'relevanssi_the_permalink()' ); /* Translators: the placeholder is the name of the relevanssi_index_user_fields option */ $index_user_fields = sprintf( esc_html__( 'To control which user meta fields are indexed, you can use the %s option. It should have a comma-separated list of user meta fields. It can be set like this (you only need to run this code once):', 'relevanssi' ), 'relevanssi_index_user_fields' ); /* Translators: the first placeholder opens the link, the second closes the link */ $knowledge_base = sprintf( esc_html__( 'For more details on user profiles and search results templates, see %1$sthis knowledge base entry%2$s.', 'relevanssi' ), "", '' ); $screen->add_help_tab( array( 'id' => 'relevanssi-title-user-profiles', 'title' => __( 'User profiles', 'relevanssi' ), 'content' => '', ) ); $screen->add_help_tab( array( 'id' => 'relevanssi-internal-links', 'title' => __( 'Internal links', 'relevanssi' ), 'content' => '', ) ); $screen->add_help_tab( array( 'id' => 'relevanssi-stemming', 'title' => __( 'Stemming', 'relevanssi' ), 'content' => '', ) ); /* Translators: the placeholder has the WP CLI command */ $wp_cli_command = sprintf( esc_html__( 'If you have WP CLI installed, Relevanssi Premium has some helpful commands. Use %s to get a list of available commands.', 'relevanssi' ), 'wp help relevanssi' ); /* Translators: the first placeholder opens the link, the second closes the link */ $wp_cli_manual = sprintf( esc_html__( 'You can also see %1$sthe user manual page%2$s.', 'relevanssi' ), "", '' ); $screen->add_help_tab( array( 'id' => 'relevanssi-wpcli', 'title' => __( 'WP CLI', 'relevanssi' ), 'content' => "", ) ); $screen->set_help_sidebar( '

' . __( 'For more information:', 'relevanssi' ) . '

' . '

' . __( 'Plugin support page', 'relevanssi' ) . '

' . '

' . __( 'WordPress.org forum', 'relevanssi' ) . '

' . '

Support email

' . '

' . __( 'Plugin knowledge base', 'relevanssi' ) . '

' ); }