PluginProbe
Property Hive / 2.3.1
Property Hive v2.3.1
2.3.1 2.3.0 2.2.6 2.2.5 2.2.4 2.2.3 2.2.2 1.4.46 1.4.47 1.4.48 1.4.49 1.4.5 1.4.50 1.4.51 1.4.52 1.4.53 1.4.54 1.4.55 1.4.56 1.4.57 1.4.58 1.4.59 1.4.6 1.4.60 1.4.61 All 261 releases
← All changes | includes/ph-page-functions.php +3 -0 1.4.522.3.1 View file →
@@ -19,8 +19,9 @@
19 19 *
20 20 * @param string $page
21 21 * @return int
22 22 */
23 +// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound -- Legacy public global helper ph_get_page_id; the established callable name is part of the plugin/extension API and must remain stable.
23 24 function ph_get_page_id( $page ) {
24 25
25 26 $page = apply_filters( 'propertyhive_get_' . $page . '_page_id', get_option('propertyhive_' . $page . '_page_id' ) );
26 27
@@ -32,8 +33,9 @@
32 33 *
33 34 * @param array $menu_items
34 35 * @return array
35 36 */
37 +// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound -- Legacy public global helper ph_nav_menu_item_classes; the established callable name is part of the plugin/extension API and must remain stable.
36 38 function ph_nav_menu_item_classes( $menu_items ) {
37 39 if ( ! is_propertyhive() ) {
38 40 return $menu_items;
39 41 }
@@ -71,8 +73,9 @@
71 73 *
72 74 * @param string $pages
73 75 * @return string
74 76 */
77 +// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound -- Legacy public global helper ph_list_pages; the established callable name is part of the plugin/extension API and must remain stable.
75 78 function ph_list_pages( $pages ) {
76 79 if ( is_propertyhive() ) {
77 80 // Remove current_page_parent class from any item.
78 81 $pages = str_replace( 'current_page_parent', '', $pages );