plugins_loaded

This hook is called once any activated plugins have been loaded. Is generally used for immediate filter setup, or plugin overrides.

The plugins_loaded action hook fires early, and precedes the setup_theme, after_setup_theme, init and wp_loaded action hooks.

load_textdomain_mofile

Loads MO file into the list of domains.
MO文件是多国语言

If the domain already exists, the inclusion will fail. If the MO file is not readable, the inclusion will fail.

On success, the MO file will be placed in the $l10n global by $domain and will be an gettext_reader object.

add_options_page

add_options_page( $page_title, $menu_title, $capability, $menu_slug, $function);

add_filter

add_filter( string $tag, callable $function_to_add, int $priority = 10, int $accepted_args = 1 )

add_action

add_action( string $tag, callable $function_to_add, int $priority = 10, int $accepted_args = 1 )

source
File: wp-includes/plugin.php

function add_action($tag, $function_to_add, $priority = 10, $accepted_args = 1) {
    return add_filter($tag, $function_to_add, $priority, $accepted_args);
}

typescript 源码分析

https://www.cnblogs.com/xuld/p/12180913.html

阅读全文

flutter_gen config

const configDefaultYamlContent = ''' name: UNKNOWN flutter_gen: Optional output: lib/gen/ Optional line_length: 80 Optional parse_metadata: false ...

阅读全文

redis 函数的含义

您提供的函数列表是一个 Redis 客户端 API 的部分实现,通常用于与 Redis 数据库进行交互。以下是这些函数的简要解释,按类别进行分类以帮助理解其功能和用...

阅读全文

欢迎留言