components/Helpers.php 1 location
|
@@ 241-248 (lines=8) @@
|
| 238 |
|
* |
| 239 |
|
* @since 2.0 |
| 240 |
|
*/ |
| 241 |
|
public function edit_page_form () { |
| 242 |
|
global $post_type; |
| 243 |
|
|
| 244 |
|
if ( $this->object_type != $post_type ) |
| 245 |
|
return; |
| 246 |
|
|
| 247 |
|
add_filter( 'enter_title_here', array( $this, 'set_title_text' ), 10, 2 ); |
| 248 |
|
} |
| 249 |
|
|
| 250 |
|
/** |
| 251 |
|
* Add meta boxes to the page |
components/Pages.php 1 location
|
@@ 378-385 (lines=8) @@
|
| 375 |
|
* |
| 376 |
|
* @since 2.0 |
| 377 |
|
*/ |
| 378 |
|
public function edit_page_form() { |
| 379 |
|
|
| 380 |
|
global $post_type; |
| 381 |
|
|
| 382 |
|
if ( $this->object_type != $post_type ) { |
| 383 |
|
return; |
| 384 |
|
} |
| 385 |
|
|
| 386 |
|
add_filter( 'enter_title_here', array( $this, 'set_title_text' ), 10, 2 ); |
| 387 |
|
} |
| 388 |
|
|
components/Templates/Templates.php 1 location
|
@@ 340-347 (lines=8) @@
|
| 337 |
|
* |
| 338 |
|
* @since 2.0 |
| 339 |
|
*/ |
| 340 |
|
public function edit_page_form() { |
| 341 |
|
|
| 342 |
|
global $post_type; |
| 343 |
|
|
| 344 |
|
if ( $this->object_type != $post_type ) { |
| 345 |
|
return; |
| 346 |
|
} |
| 347 |
|
|
| 348 |
|
add_filter( 'enter_title_here', array( $this, 'set_title_text' ), 10, 2 ); |
| 349 |
|
} |
| 350 |
|
|