PluginProbe
Related Posts By PickPlugins / trunk
Related Posts By PickPlugins vtrunk
trunk 1.0 1.1 1.2 2.0.0 2.0.1 2.0.10 2.0.11 2.0.14 2.0.16 2.0.17 2.0.18 2.0.19 2.0.2 2.0.20 2.0.21 2.0.22 2.0.23 2.0.24 2.0.25 2.0.26 2.0.27 2.0.28 2.0.29 2.0.30 All 60 releases
related-post / includes / class-functions.php

class-functions.php in Related Posts By PickPlugins trunk, at includes/class-functions.php

77 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /*
4 * @Author pickplugins
5 * Copyright: 2015 pickplugins
6 */
7
8 if ( ! defined('ABSPATH')) exit; // if direct access
9
10 class class_related_post_functions{
11
12 public function __construct(){
13
14 //add_action( 'admin_menu', array( $this, 'related_post_menu_init' ), 12 );
15
16 }
17
18
19
20 public function faq(){
21
22
23
24 $faq['core'] = array(
25 'title'=>__('Core', 'related-post'),
26 'items'=>array(
27
28 array(
29 'question'=>__('How to display on archive pages ?', 'related-post'),
30 'answer_url'=>'https://pickplugins.com/docs/documentation/related-post/how-to-display-on-archive-pages/',
31
32 ),
33
34
35 ),
36
37
38 );
39
40
41
42
43 $faq = apply_filters('related_post_filter_faq', $faq);
44
45 return $faq;
46
47 }
48
49
50
51
52
53
54
55
56
57 public function layout_items(){
58
59 $layout_items = array(
60
61 'thumbnail'=>array('name'=>__('Thumbnail','related-post'), 'options'=>array()),
62 'title'=>array('name'=>__('Title','related-post'), 'options'=>array()),
63 'excerpt'=>array('name'=>__('Excerpt','related-post'), 'options'=>array()),
64
65 );
66
67 $layout_items = apply_filters('related_post_filter_layout_items',$layout_items);
68
69 return $layout_items;
70
71
72 }
73
74
75 }
76
77 new class_related_post_functions();