Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Search results

  • return "foo and bar"; This will create [foobar] shortcode that returns as: foo and bar
    27 KB (4,145 words) - 06:43, 20 August 2023
  • return "foo and bar"; This will create [foobar] shortcode that returns as: foo and bar
    19 KB (2,920 words) - 16:32, 25 July 2014
  • ...demonstrates how you would remove feed URLs for a custom post type called 'foo'... if ( preg_match('/^foo.*(feed)/',$rule) ) {
    13 KB (1,664 words) - 03:40, 17 September 2020
  • return "foo and bar"; ...ткий код "[foobar]" который возвращается как: foo and bar
    21 KB (2,462 words) - 13:03, 12 November 2014
  • return "foo and bar"; Questo crea lo shortcode [foobar] che restituisce: foo and bar
    21 KB (2,999 words) - 08:09, 13 November 2013
  • [tab]$foo = 'somevalue'; [tab]'foo' => 'somevalue',
    21 KB (588 words) - 21:45, 15 January 2020
  • foo( arg ); foo( 'string', object );
    34 KB (982 words) - 18:44, 11 February 2015
  • [footag foo="bar"] return "foo = {$atts['foo']}";
    3 KB (407 words) - 01:53, 24 January 2024
  • [footag foo="bar"] return "foo = {$atts['foo']}";
    3 KB (404 words) - 07:55, 22 January 2024
  • [footag foo="bar"] return "foo = {$atts['foo']}";
    3 KB (339 words) - 01:42, 24 January 2024
  • ...)</tt> : Returns true if on a post type archive page that matches either "foo", "bar", or "baz". ...ngular( 'foo' )</tt> : Returns <tt>true</tt> if the <tt>post_type</tt> is "foo".
    34 KB (5,394 words) - 15:10, 14 April 2020
  • 'foo' => 'no foo', return 'bartag: ' . $atts['foo'] . ' ' . $atts['bar'];
    3 KB (386 words) - 07:55, 22 January 2024
  • // This would output '/client/?s=word&foo=bar' echo esc_url( add_query_arg( 'foo', 'bar' ) );
    4 KB (606 words) - 16:14, 20 April 2015
  • 'foo' => 'no foo', return 'bartag: ' . $atts['foo'] . ' ' . $atts['bar'];
    3 KB (334 words) - 01:47, 24 January 2024
  • ...finition supplies the value for this query var (e.g. "/foo/bar/" becomes "?foo=bar"). ...he endpoint regex (e.g. "<permalink>/json/foo/" becomes "<permalink>/?json=foo").
    4 KB (544 words) - 14:29, 16 November 2020
  • $data = array( 1 => 'Hello World!', 'foo' => 'bar' ); // a:2:{i:1;s:12:"Hello World!";s:3:"foo";s:3:"bar";}
    2 KB (308 words) - 07:56, 22 January 2024
  • [tab]$foo = 'algumvalor'; ...ndo definindo funções, faça assim: <tt>function minhafuncao( $param1 = 'foo', $param2 = 'bar' ) {</tt> e quando chamando uma funcao, faça assim: <tt>m
    10 KB (1,613 words) - 11:50, 24 November 2013
  • [tab]$foo = 'somevalue'; ...{ ...)定义一个函数的时候这样做:function myfunction( $param1 = 'foo', $param2 = 'bar' ) {,调用函数的时候这样:myfunction( $param1, func
    7 KB (333 words) - 11:50, 24 November 2013
  • ...for specific options names, such as "pre_option_foo" to filter the option "foo". ...the amount of displayed posts per page for a specific category (here the 'foo' category) you can add the filter 'pre_option_posts_per_page'
    2 KB (379 words) - 08:11, 22 January 2021
  • ...t you want to respond to, such as 'add_option_foo' to respond when option "foo" has been added. ...ou want to respond to, such as 'delete_option_foo' to respond when option "foo" has been deleted.
    60 KB (9,417 words) - 05:22, 29 January 2024

View (previous 20 | next 20) (20 | 50 | 100 | 250 | 500)