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/Templates/Templates.php 1 location
|
@@ 284-291 (lines=8) @@
|
281 |
|
* |
282 |
|
* @since 2.0 |
283 |
|
*/ |
284 |
|
public function edit_page_form () { |
285 |
|
global $post_type; |
286 |
|
|
287 |
|
if ( $this->object_type != $post_type ) |
288 |
|
return; |
289 |
|
|
290 |
|
add_filter( 'enter_title_here', array( $this, 'set_title_text' ), 10, 2 ); |
291 |
|
} |
292 |
|
|
293 |
|
/** |
294 |
|
* Add meta boxes to the page |
components/Pages.php 1 location
|
@@ 321-328 (lines=8) @@
|
318 |
|
* |
319 |
|
* @since 2.0 |
320 |
|
*/ |
321 |
|
public function edit_page_form () { |
322 |
|
global $post_type; |
323 |
|
|
324 |
|
if ( $this->object_type != $post_type ) |
325 |
|
return; |
326 |
|
|
327 |
|
add_filter( 'enter_title_here', array( $this, 'set_title_text' ), 10, 2 ); |
328 |
|
} |
329 |
|
|
330 |
|
/** |
331 |
|
* Filter permalinks and adjust for pod pages |