/home/altere25/sportzsoftlivemeet.com/wp-content/plugins/wordpress-seo/src
NameSizeModeActions
actions/-0755rm
ai-authorization/-0755rm
ai-consent/-0755rm
ai-free-sparks/-0755rm
ai-generator/-0755rm
ai-http-request/-0755rm
alerts/-0755rm
analytics/-0755rm
builders/-0755rm
commands/-0755rm
conditionals/-0755rm
config/-0755rm
content-type-visibility/-0755rm
context/-0755rm
dashboard/-0755rm
deprecated/-0755rm
editors/-0755rm
elementor/-0755rm
exceptions/-0755rm
general/-0755rm
generated/-0755rm
generators/-0755rm
helpers/-0755rm
images/-0755rm
initializers/-0755rm
integrations/-0755rm
introductions/-0755rm
llms-txt/-0755rm
loggers/-0755rm
memoizers/-0755rm
models/-0755rm
plans/-0755rm
presentations/-0755rm
presenters/-0755rm
promotions/-0755rm
repositories/-0755rm
routes/-0755rm
schema/-0755rm
services/-0755rm
surfaces/-0755rm
task-list/-0755rm
tracking/-0755rm
user-meta/-0755rm
user-profiles-additions/-0755rm
values/-0755rm
wordpress/-0755rm
wrappers/-0755rm
functions.php9110644editdlrm
loadable-interface.php2860644editdlrm
loader.php48720644editdlrm
main.php33270644editdlrm
Edit: /home/altere25/sportzsoftlivemeet.com/wp-content/plugins/wordpress-seo/src/loader.php (4872B)
container = $container; } /** * Registers an integration. * * @param string $class The class name of the integration to be loaded. * * @return void */ public function register_integration( $class ) { $this->integrations[] = $class; } /** * Registers an initializer. * * @param string $class The class name of the initializer to be loaded. * * @return void */ public function register_initializer( $class ) { $this->initializers[] = $class; } /** * Registers a route. * * @param string $class The class name of the route to be loaded. * * @return void */ public function register_route( $class ) { $this->routes[] = $class; } /** * Registers a command. * * @param string $class The class name of the command to be loaded. * * @return void */ public function register_command( $class ) { $this->commands[] = $class; } /** * Registers a migration. * * @param string $plugin The plugin the migration belongs to. * @param string $version The version of the migration. * @param string $class The class name of the migration to be loaded. * * @return void */ public function register_migration( $plugin, $version, $class ) { if ( ! \array_key_exists( $plugin, $this->migrations ) ) { $this->migrations[ $plugin ] = []; } $this->migrations[ $plugin ][ $version ] = $class; } /** * Loads all registered classes if their conditionals are met. * * @return void */ public function load() { $this->load_initializers(); if ( ! \did_action( 'init' ) ) { \add_action( 'init', [ $this, 'load_integrations' ] ); } else { $this->load_integrations(); } \add_action( 'rest_api_init', [ $this, 'load_routes' ] ); if ( \defined( 'WP_CLI' ) && \WP_CLI ) { $this->load_commands(); } } /** * Returns all registered migrations. * * @param string $plugin The plugin to get the migrations for. * * @return string[]|false The registered migrations. False if no migrations were registered. */ public function get_migrations( $plugin ) { if ( ! \array_key_exists( $plugin, $this->migrations ) ) { return false; } return $this->migrations[ $plugin ]; } /** * Loads all registered commands. * * @return void */ protected function load_commands() { foreach ( $this->commands as $class ) { $command = $this->container->get( $class ); WP_CLI::add_command( $class::get_namespace(), $command ); } } /** * Loads all registered initializers if their conditionals are met. * * @return void */ protected function load_initializers() { foreach ( $this->initializers as $class ) { if ( ! $this->conditionals_are_met( $class ) ) { continue; } $this->container->get( $class )->initialize(); } } /** * Loads all registered integrations if their conditionals are met. * * @return void */ public function load_integrations() { foreach ( $this->integrations as $class ) { if ( ! $this->conditionals_are_met( $class ) ) { continue; } $this->container->get( $class )->register_hooks(); } } /** * Loads all registered routes if their conditionals are met. * * @return void */ public function load_routes() { foreach ( $this->routes as $class ) { if ( ! $this->conditionals_are_met( $class ) ) { continue; } $this->container->get( $class )->register_routes(); } } /** * Checks if all conditionals of a given integration are met. * * @param Loadable_Interface $class The class name of the integration. * * @return bool Whether or not all conditionals of the integration are met. */ protected function conditionals_are_met( $class ) { $conditionals = $class::get_conditionals(); foreach ( $conditionals as $conditional ) { if ( ! $this->container->get( $conditional )->is_met() ) { return false; } } return true; } }