Skip to content

Commit 4b69005

Browse files
committed
Upgrade SEO HelpeR
1 parent ef8f69b commit 4b69005

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

system/helpers/seo_helper.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
<?php
22
defined('BASEPATH') or exit('No direct script access allowed');
3-
if (!function_exists('bear_basic_header_seo')) {
3+
if (!function_exists('bear_simple_seo_header')) {
44
/**
5-
* Function bear_basic_header_seo
5+
* Function bear_simple_seo_header
66
*
77
* @param $title
88
* @param $description
99
* @param $image
1010
*
11-
* @return mixed
1211
* @author : 713uk13m <dev@nguyenanhung.com>
1312
* @copyright: 713uk13m <dev@nguyenanhung.com>
14-
* @time : 23/04/2023 20:20
13+
* @time : 23/04/2023 23:49
1514
*/
16-
function bear_basic_header_seo($title = '', $description = '', $image = '')
15+
function bear_simple_seo_header($title = '', $description = '', $image = '')
1716
{
1817
$CI =& get_instance();
1918
$cms = $CI->load->library('seo_onpage');
20-
21-
return $cms->seo_onpage->published($title, $description, $image);
19+
/** @var \CI_Seo_onpage $seo */
20+
$seo = $cms->seo_onpage;
21+
$seo->published($title, $description, $image);
2222
}
2323
}

0 commit comments

Comments
 (0)