\

Interfaces

IMslsRegistryInstance Interface for classes which are to register in the MslsRegistry-instance

Classes

MslsCustomFilter Adding custom filter to posts/pages table.
MslsAutoloader The Autoloader does all the magic when it comes to include a file
MslsOptionsPost Post options
MslsOptions General options class
MslsGetSet Generic class for overloading properties
MslsOptionsQueryPostType OptionsQueryPostType
MslsPostTagClassic Post Tag Clasic
MslsWidget The standard widget of the Multisite Language Switcher
MslsOptionsQueryDay OptionsQueryDay
MslsAdminIcon Handles the icon links in the backend
MslsOptionsQuery OptionsQuery
MslsLinkTextOnly Link type: Text only
MslsOutput Output in the frontend
MslsBlogCollection Collection of blog-objects
MslsRegistry Registry instead of singletons
MslsPostTag Post Tag
MslsCustomColumnTaxonomy Handling of existing/not existing translations in the backend listings of various taxonomies
MslsOptionsQueryYear OptionsQueryYear
MslsOptionsQueryAuthor OptionsQueryAuthor
MslsOptionsTax Taxonomy options
MslsOptionsTaxTerm Tag options
MslsLinkTextImage Link type: Text and image
MslsLinkImageOnly Link type: Image only
MslsAdmin Administration of the options
MslsMetaBox Meta box for the edit mode of the (custom) post types
MslsPostType Content types: Post types (Pages, Posts, .
MslsMain Abstraction for the hook classes
MslsCustomColumn Handling of existing/not existing translations in the backend listings of various post types
MslsOptionsTaxTermCategory Category options
MslsLink Link type: Image and text
MslsLanguageArray Stores the language input from post
MslsContentTypes Supported content types
MslsSqlCacher Wrapper to avoid direct SQL without caching
MslsBlog Internal representation of a blog
MslsJson Container for an array which will used in JavaScript as object in JSON
MslsPlugin Provides functionalities for general hooks and activation/deactivation
MslsOptionsQueryMonth OptionsQueryMonth
MslsAdminIconTaxonomy Handles backend icons for taxonomies
MslsTaxonomy Content types: Taxonomies (Tags, Categories, .

Constants

MSLS_PLUGIN_VERSION

MSLS_PLUGIN_VERSION

MSLS_PLUGIN_PATH

MSLS_PLUGIN_PATH

MSLS_PLUGIN__FILE__

MSLS_PLUGIN__FILE__

Functions

msls_content_filter()

msls_content_filter(string $content) : string

Filter for the_content()

Parameters

string $content

Returns

string

msls_filter_string()

msls_filter_string(string $pref, string $post) : string

Create filterstring for msls_content_filter()

Parameters

string $pref
string $post

Returns

string

get_the_msls()

get_the_msls(array $arr) : string

Get the output for using the links to the translations in your code

Parameters

array $arr

Returns

string

the_msls()

the_msls(array $arr)

Output the links to the translations in your template

You can call this function directly like that

if ( function_exists ( 'the_msls' ) )
    the_msls();

Parameters

array $arr

msls_head()

msls_head()

Help searchengines to index and to serve the localized version with rel="alternate"-links in the html-header

plugin_needs_multisite()

plugin_needs_multisite()

Prints a message that the Multisite Language Switcher needs an active multisite to work properly.