• Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Hooks

Namespaces

  • None
  • SIW
    • Admin
    • API
    • Async
    • Batch
    • Compatibility
    • Data
    • Elements
    • Email
    • External
    • Forms
    • Modules
    • Newsletter
    • Page_Builder
    • Plato
    • Widgets
    • WooCommerce
      • Admin
      • Checkout
      • Email
      • Export
      • Frontend
      • Import

Classes

  • Caldera_Forms
  • Mailpoet
  • Meta_Box
  • Password_Protected
  • Pinnacle_Premium
  • Plugins
  • Safe_Redirect_Manager
  • SiteOrigin_Page_Builder
  • The_SEO_Framework
  • UpdraftPlus
  • WooCommerce
  • WordPress
  • WP_Rocket
  • WP_Sentry_Integration
  • WPML

Class WordPress

Aanpassingen voor WordPress

Namespace: SIW\Compatibility
Copyright: 2019 SIW Internationale Vrijwilligersprojecten
Since: 3.0.0
Located at compatibility/wordpress.php

Methods summary

public static
# init( )

Init

Init

public string
# set_rest_url_prefix( )

Past REST-prefix aan

Past REST-prefix aan

Returns

string
public
# unregister_widgets( )

Verwijdert standaard-widgets

Verwijdert standaard-widgets

public integer
# set_nonce_life( )

Verdubbelt levensduur nonces (i.v.m. cache)

Verdubbelt levensduur nonces (i.v.m. cache)

Returns

integer
public array
# set_oembed_response_data( array $data )

Verwijdert auteurgegevens uit oembed

Verwijdert auteurgegevens uit oembed

Parameters

$data

Returns

array
public array
# remove_user_contactmethods( array $contactmethods )

Verwijdert contactmethodes bij gebruikers

Verwijdert contactmethodes bij gebruikers

Parameters

$contactmethods

Returns

array
public
# add_custom_logo_support( )

Voegt support voor custom logo toe

Voegt support voor custom logo toe

public
# add_page_excerpt_support( )

Voegt samenvatting voor pagina's toe

Voegt samenvatting voor pagina's toe

public array
# remove_core_version_check_query_args( array $query )

Verwijdert niet-essentiele gegevens voor call naar WP update server

Verwijdert niet-essentiele gegevens voor call naar WP update server

Parameters

$query

Returns

array
public
# dequeue_styles( )

Gutenberg css uitschakelen

Gutenberg css uitschakelen

public
# disable_feed( )

Schakelt feed uit

Schakelt feed uit

public string
# set_404_template( )

Overschrijft 404-template

Overschrijft 404-template

Returns

string
public string
# set_default_editor( )

Zet alle editors standaard op tekst

Zet alle editors standaard op tekst

Returns

string
public string
# set_http_headers_useragent( )

Zet useragent voor alle uitgaande http requests

Zet useragent voor alle uitgaande http requests

Returns

string
public integer
# set_big_image_size_threshold( )

Zet grens voor grote afbeelding

Zet grens voor grote afbeelding

Returns

integer
public array
# remove_update_check( array $tests )

Verwijdert test voor automatische updates

Verwijdert test voor automatische updates

Parameters

$tests

Returns

array
public array
# add_allowed_css_attributes( array $attributes )

Voegt toegestane css attributen toe

Voegt toegestane css attributen toe

Parameters

$attributes

Returns

array
public string
# fix_youtube_embed( string $cache )

Past YouTube-embed link aan

Past YouTube-embed link aan

  • nocookie domein
  • instellingen

Parameters

$cache

Returns

string

Constants summary

string REST_API_PREFIX

URL-prefix voor WP REST API

URL-prefix voor WP REST API

# 'api'
string DEFAULT_EDITOR

Default editor mode

Default editor mode

# 'html'
SIW API documentation generated by ApiGen