質問編集履歴

1

condition\.php の追記

2017/07/13 03:27

投稿

ShunYoshizawa
ShunYoshizawa

スコア103

test CHANGED
File without changes
test CHANGED
@@ -63,3 +63,53 @@
63
63
 
64
64
 
65
65
  お分かりの方いらっしゃいましたらお願い致します。。
66
+
67
+
68
+
69
+
70
+
71
+ ◆追記
72
+
73
+ condition.php
74
+
75
+ ```php
76
+
77
+ function quads_ad_is_allowed( $content = null ) {
78
+
79
+ global $quads_options;
80
+
81
+
82
+
83
+ $hide_ads = apply_filters('quads_hide_ads', false);
84
+
85
+
86
+
87
+ // User Roles check
88
+
89
+ if(!quads_user_roles_permission()){
90
+
91
+ return false;
92
+
93
+ }
94
+
95
+
96
+
97
+ // Frontpage check
98
+
99
+ if (is_front_page() && isset( $quads_options['visibility']['AppHome'] ) ){
100
+
101
+ return true;
102
+
103
+ }
104
+
105
+ ```
106
+
107
+ この中の
108
+
109
+ ```php
110
+
111
+ $hide_ads = apply_filters('quads_hide_ads', false);
112
+
113
+ ```
114
+
115
+ こちらをコメントアウトすれば大丈夫でしょうか?