在覆盖函数时,这常常提供一个好起点。
This usually provides a good starting point as to what function to override.
还可以使用.theme文件,在其中可以覆盖任何PHP主题函数。
You could also use a.theme file in which you can override any PHP theme functions.
代码非常简单,只需要覆盖compare()函数。
The code is very simple; you simply override the compare() function.
函数名加上函数的覆盖率信息
The name of the function plus the coverage information for the function
覆盖的函数均在WordPress主目录中的pluggable.php文件内定义。
The functions you can override are defined in the pluggable.php file in your WordPress home directory.
图12:您为您所指定的函数得到覆盖率信息。
Figure 12: you get coverage information for the function you specify.
覆盖对象参数行为被称为一个函数。
Overrides the behavior of an object property that can be called as a function.
创建一个新文件。如果该文件已经存在,函数将覆盖已存在的文件并清除已存在的文件属性。
OPEN_EXISTING Opens the file. The function fails if the file does not exist.
创建一个新文件。如果该文件已经存在,函数将覆盖已存在的文件并清除已存在的文件属性。
OPEN_EXISTING Opens the file. The function fails if the file does not exist.
应用推荐