当前位置: 首页>>代码示例>>PHP>>正文


PHP pmpro_https_filter函数代码示例

本文整理汇总了PHP中pmpro_https_filter函数的典型用法代码示例。如果您正苦于以下问题:PHP pmpro_https_filter函数的具体用法?PHP pmpro_https_filter怎么用?PHP pmpro_https_filter使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了pmpro_https_filter函数的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: pmpromd_register_styles

function pmpromd_register_styles()
{
    //load stylesheet (check child theme, then parent theme, then plugin folder)
    if (file_exists(get_stylesheet_directory() . "/paid-memberships-pro/member-directory/css/pmpro-member-directory.css")) {
        wp_register_style('pmpro-member-directory-styles', get_stylesheet_directory_uri() . "/paid-memberships-pro/member-directory/css/pmpro-member-directory.css");
    } elseif (file_exists(get_template_directory() . "/paid-memberships-pro/member-directory/css/pmpro-member-directory.css")) {
        wp_register_style('pmpro-member-directory-styles', get_template_directory_uri() . "/paid-memberships-pro/member-directory/css/pmpro-member-directory.css");
    } elseif (function_exists("pmpro_https_filter")) {
        wp_register_style('pmpro-member-directory-styles', pmpro_https_filter(plugins_url('css/pmpro-member-directory.css', __FILE__)), NULL, "");
    } else {
        wp_register_style('pmpro-member-directory-styles', plugins_url('css/pmpro-member-directory.css', __FILE__));
    }
    wp_enqueue_style('pmpro-member-directory-styles');
}
开发者ID:greathmaster,项目名称:pmpro-member-directory,代码行数:14,代码来源:pmpro-member-directory.php

示例2: pmpro_getClassForField

            }
            ?>
" class=" <?php 
            echo pmpro_getClassForField("CVV");
            ?>
"
								       <?php 
            if ($gateway == "braintree") {
                ?>
data-encrypted-name="cvv"<?php 
            }
            ?>
 />
								<small>(<a href="javascript:void(0);"
								           onclick="javascript:window.open('<?php 
            echo pmpro_https_filter(PMPRO_URL);
            ?>
/pages/popup-cvv.html','cvv','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=600, height=475');"><?php 
            _ex("what's this?", 'link to CVV help', 'vibe');
            ?>
</a>)
								</small>
							</div>
							<?php 
        }
        ?>
					</td>
				</tr>
				</tbody>
			</table>
开发者ID:inetbiz,项目名称:wordpress-lms,代码行数:30,代码来源:billing.php

示例3: pmprorh_scripts

function pmprorh_scripts()
{
    if (!is_admin()) {
        if (!defined("PMPRO_VERSION")) {
            //load some styles that we need from PMPro (check child theme, then parent theme, then plugin folder)
            if (file_exists(get_stylesheet_directory() . "/paid-memberships-pro/register-helper/css/pmpro.css")) {
                wp_enqueue_style(get_stylesheet_directory_uri() . "/paid-memberships-pro/register-helper/css/pmpro.css");
            } elseif (file_exists(get_template_directory() . "/paid-memberships-pro/register-helper/css/pmpro.css")) {
                wp_enqueue_style(get_template_directory_uri() . "/paid-memberships-pro/register-helper/css/pmpro.css");
            } else {
                wp_enqueue_style("pmprorh_pmpro", PMPRORH_URL . "/css/pmpro.css", NULL, PMPRORH_VERSION);
            }
        }
        //load some styles that we need from PMPro (check child theme, then parent theme, then plugin folder)
        if (file_exists(get_stylesheet_directory() . "/paid-memberships-pro/register-helper/css/pmprorh_frontend.css")) {
            wp_enqueue_style(get_stylesheet_directory_uri() . "/paid-memberships-pro/register-helper/css/pmprorh_frontend.css");
        } elseif (file_exists(get_template_directory() . "/paid-memberships-pro/register-helper/css/pmprorh_frontend.css")) {
            wp_enqueue_style(get_template_directory_uri() . "/paid-memberships-pro/register-helper/css/pmprorh_frontend.css");
        } elseif (function_exists("pmpro_https_filter")) {
            wp_enqueue_style("pmprorh_frontend", pmpro_https_filter(PMPRORH_URL) . "/css/pmprorh_frontend.css", NULL, "");
        } else {
            wp_enqueue_style("pmprorh_frontend", PMPRORH_URL . "/css/pmprorh_frontend.css", NULL, "");
        }
    }
}
开发者ID:jcm,项目名称:pmpro-register-helper,代码行数:25,代码来源:pmpro-register-helper.php

示例4: pmpro_https_filter

				$order->payment_transaction_id = "";
				$order->subscription_transaction_id = "";
				$order->affiliate_id = "";
				$order->affiliate_subid = "";
				$order->notes = "";
			}
		}
	}
	
?>
<div class="wrap pmpro_admin">	
	<div class="pmpro_banner">		
		<a class="pmpro_logo" title="Paid Memberships Pro - Membership Plugin for WordPress" target="_blank" href="<?php echo pmpro_https_filter("http://www.paidmembershipspro.com")?>"><img src="<?php echo PMPRO_URL?>/images/PaidMembershipsPro.gif" width="350" height="45" border="0" alt="Paid Memberships Pro(c) - All Rights Reserved" /></a>
		<div class="pmpro_tagline">Membership Plugin for WordPress</div>
		
		<div class="pmpro_meta"><a href="<?php echo pmpro_https_filter("http://www.paidmembershipspro.com")?>">Plugin Support</a> | <a href="http://www.paidmembershipspro.com/forums/">User Forum</a> | <strong>Version <?php echo PMPRO_VERSION?></strong></div>
	</div>
	<br style="clear:both;" />		

<?php if(!empty($order)) { ?>

	<h2>
		<?php if(!empty($order->id)) { ?>
			Order #<?php echo $order->id?>: <?php echo $order->code?>
		<?php } else { ?>
			New Order
		<?php } ?>
	</h2>
	
	<?php if(!empty($pmpro_msg)) { ?>
		<div id="message" class="<?php if($pmpro_msgt == "success") echo "updated fade"; else echo "error"; ?>"><p><?php echo $pmpro_msg?></p></div>
开发者ID:Jtgadbois,项目名称:Pedadida,代码行数:31,代码来源:orders.php

示例5: pmpro_include_payment_information_fields


//.........这里部分代码省略.........
            ?>
selected="selected"<?php 
        }
        ?>
>11</option>
								<option value="12" <?php 
        if ($ExpirationMonth == "12") {
            ?>
selected="selected"<?php 
        }
        ?>
>12</option>
							</select>/<select id="ExpirationYear" class=" <?php 
        echo pmpro_getClassForField("ExpirationYear");
        ?>
">
								<?php 
        for ($i = date("Y"); $i < date("Y") + 10; $i++) {
            ?>
									<option value="<?php 
            echo $i;
            ?>
" <?php 
            if ($ExpirationYear == $i) {
                ?>
selected="selected"<?php 
            }
            ?>
><?php 
            echo $i;
            ?>
</option>
								<?php 
        }
        ?>
							</select>
						</div>

						<?php 
        $pmpro_show_cvv = apply_filters("pmpro_show_cvv", true);
        if ($pmpro_show_cvv) {
            ?>
						<div class="pmpro_payment-cvv">
							<label for="CVV"><?php 
            _ex('CVV', 'Credit card security code, CVV/CCV/CVV2', 'pmpro');
            ?>
</label>
							<input class="input" id="CVV" type="text" size="4" value="<?php 
            if (!empty($_REQUEST['CVV'])) {
                echo esc_attr($_REQUEST['CVV']);
            }
            ?>
" class=" <?php 
            echo pmpro_getClassForField("CVV");
            ?>
" />  <small>(<a href="javascript:void(0);" onclick="javascript:window.open('<?php 
            echo pmpro_https_filter(PMPRO_URL);
            ?>
/pages/popup-cvv.html','cvv','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=600, height=475');"><?php 
            _ex("what's this?", 'link to CVV help', 'pmpro');
            ?>
</a>)</small>
						</div>
						<?php 
        }
        ?>

						<?php 
        if ($pmpro_show_discount_code) {
            ?>
						<div class="pmpro_payment-discount-code">
							<label for="discount_code"><?php 
            _e('Discount Code', 'pmpro');
            ?>
</label>
							<input class="input <?php 
            echo pmpro_getClassForField("discount_code");
            ?>
" id="discount_code" name="discount_code" type="text" size="20" value="<?php 
            echo esc_attr($discount_code);
            ?>
" />
							<input type="button" id="discount_code_button" name="discount_code_button" value="<?php 
            _e('Apply', 'pmpro');
            ?>
" />
							<p id="discount_code_message" class="pmpro_message" style="display: none;"></p>
						</div>
						<?php 
        }
        ?>

					</td>
				</tr>
			</tbody>
			</table>
			<?php 
        //don't include the default
        return false;
    }
开发者ID:TakenCdosG,项目名称:admissionsrevolution_new,代码行数:101,代码来源:class.pmprogateway_stripe.php

示例6: pmpro_https_filter

?>
">Plugin Support</a> | <a href="http://www.paidmembershipspro.com/forums/">User Forum</a> | <strong>Version <?php 
echo PMPRO_VERSION;
?>
</strong></div>
	</div>
	<br style="clear:both;" />
	
	<?php 
//include(pmpro_https_filter("http://www.paidmembershipspro.com/notifications/?v=" . PMPRO_VERSION));
?>
	<div id="pmpro_notifications">
	</div>
	<script>
		jQuery.get('<?php 
echo pmpro_https_filter("http://www.paidmembershipspro.com/notifications/?v=" . PMPRO_VERSION);
?>
', function(data) {
			if(data && data != 'NULL')
				jQuery('#pmpro_notifications').html(data);		 
		});
	</script>
	
	<?php 
if ($edit) {
    ?>
		
		<h2>
			<?php 
    if ($edit > 0) {
        echo "Edit Affiliate";
开发者ID:datalynk,项目名称:pmpro-affiliates,代码行数:31,代码来源:affiliates.php

示例7: pmpro_include_payment_information_fields


//.........这里部分代码省略.........
            ?>
selected="selected"<?php 
        }
        ?>
>11</option>
								<option value="12" <?php 
        if ($ExpirationMonth == "12") {
            ?>
selected="selected"<?php 
        }
        ?>
>12</option>
							</select>/<select id="ExpirationYear" name="ExpirationYear" class=" <?php 
        echo pmpro_getClassForField("ExpirationYear");
        ?>
">
								<?php 
        for ($i = date_i18n("Y"); $i < date_i18n("Y") + 10; $i++) {
            ?>
									<option value="<?php 
            echo $i;
            ?>
" <?php 
            if ($ExpirationYear == $i) {
                ?>
selected="selected"<?php 
            }
            ?>
><?php 
            echo $i;
            ?>
</option>
								<?php 
        }
        ?>
							</select> 					
						</div>
					
						<?php 
        $pmpro_show_cvv = apply_filters("pmpro_show_cvv", true);
        if ($pmpro_show_cvv) {
            ?>
						<div class="pmpro_payment-cvv">
							<label for="CVV"><?php 
            _e('CVV', 'pmpro');
            ?>
</label>
							<input class="input" id="CVV" name="cvv" type="text" size="4" value="<?php 
            if (!empty($_REQUEST['CVV'])) {
                echo esc_attr($_REQUEST['CVV']);
            }
            ?>
" class=" <?php 
            echo pmpro_getClassForField("CVV");
            ?>
" data-encrypted-name="cvv" />  <small>(<a href="javascript:void(0);" onclick="javascript:window.open('<?php 
            echo pmpro_https_filter(PMPRO_URL);
            ?>
/pages/popup-cvv.html','cvv','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=600, height=475');"><?php 
            _e("what's this?", 'pmpro');
            ?>
</a>)</small>
						</div>
						<?php 
        }
        ?>
						
						<?php 
        if ($pmpro_show_discount_code) {
            ?>
						<div class="pmpro_payment-discount-code">
							<label for="discount_code"><?php 
            _e('Discount Code', 'pmpro');
            ?>
</label>
							<input class="input <?php 
            echo pmpro_getClassForField("discount_code");
            ?>
" id="discount_code" name="discount_code" type="text" size="20" value="<?php 
            echo esc_attr($discount_code);
            ?>
" />
							<input type="button" id="discount_code_button" name="discount_code_button" value="<?php 
            _e('Apply', 'pmpro');
            ?>
" />
							<p id="discount_code_message" class="pmpro_message" style="display: none;"></p>
						</div>
						<?php 
        }
        ?>
						
					</td>			
				</tr>
			</tbody>
			</table>
			<?php 
        //don't include the default
        return false;
    }
开发者ID:uwmadisoncals,项目名称:Cluster-Plugins,代码行数:101,代码来源:class.pmprogateway_braintree.php

示例8: esc_attr

 type="text" size="4" value="<?php 
                if (!empty($_REQUEST['CVV'])) {
                    echo esc_attr($_REQUEST['CVV']);
                }
                ?>
" class=" <?php 
                echo pmpro_getClassForField("CVV");
                ?>
" <?php 
                if ($gateway == "braintree") {
                    ?>
data-encrypted-name="cvv"<?php 
                }
                ?>
 />  <small>(<a href="javascript:void(0);" onclick="javascript:window.open('<?php 
                echo pmpro_https_filter($cvv_template);
                ?>
','cvv','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=600, height=475');"><?php 
                _e("what's this?", 'pmpro');
                ?>
</a>)</small>
						</div>
						<?php 
            }
            ?>
					</td>
				</tr>
			</tbody>
			</table>

			<?php 
开发者ID:uwmadisoncals,项目名称:Cluster-Plugins,代码行数:31,代码来源:billing.php

示例9: pmpro_https_filter

}
?>
<div class="wrap pmpro_admin">	
	<div class="pmpro_banner">
		<a class="pmpro_logo" title="Paid Memberships Pro - Membership Plugin for WordPress" target="_blank" href="<?php 
echo pmpro_https_filter("http://www.paidmembershipspro.com");
?>
"><img src="<?php 
echo PMPRO_URL;
?>
/images/Paid-Memberships-Pro.png" width="350" height="75" border="0" alt="Paid Memberships Pro(c) - All Rights Reserved" /></a>	
		<div class="pmpro_meta"><span class="pmpro_tag-grey">v<?php 
echo PMPRO_VERSION;
?>
</span><a target="_blank" class="pmpro_tag-blue" href="<?php 
echo pmpro_https_filter("http://www.paidmembershipspro.com");
?>
"><?php 
_e('Plugin Support', 'pmpro');
?>
</a><a target="_blank" class="pmpro_tag-blue" href="http://www.paidmembershipspro.com/forums/"><?php 
_e('User Forum', 'pmpro');
?>
</a></div>
		
		<br style="clear:both;" />
	</div>	
		
	<div id="pmpro_notifications">
	</div>
	<script>
开发者ID:nwmcinc,项目名称:paid-memberships-pro,代码行数:31,代码来源:admin_header.php

示例10: if

						?>
							<option value="<?php echo $i?>" <?php if($ExpirationYear == $i) { ?>selected="selected"<?php } ?>><?php echo $i?></option>
						<?php
							}
						?>
					</select> 					
				</div>
			
				<?php
					$pmpro_show_cvv = apply_filters("pmpro_show_cvv", true);
					if($pmpro_show_cvv)
					{
				?>
				<div>
					<label for="CVV">CVV</label>
					<input class="input" id="CVV" <?php if($gateway != "stripe" && $gateway != "braintree") { ?>name="CVV"<?php } ?> type="text" size="4" value="<?php if(!empty($_REQUEST['CVV'])) { echo esc_attr($_REQUEST['CVV']); }?>" class=" <?php echo pmpro_getClassForField("CVV");?>" <?php if($gateway == "braintree") { ?>data-encrypted-name="cvv"<?php } ?> />  <small>(<a href="javascript:void(0);" onclick="javascript:window.open('<?php echo pmpro_https_filter(PMPRO_URL)?>/pages/popup-cvv.html','cvv','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=600, height=475');">what's this?</a>)</small>
				</div>
				<?php
					}
				?>
				
				<?php if($pmpro_show_discount_code) { ?>
				<div>
					<label for="discount_code">Discount Code</label>
					<input class="input <?php echo pmpro_getClassForField("discount_code");?>" id="discount_code" name="discount_code" type="text" size="20" value="<?php echo esc_attr($discount_code)?>" />
					<input type="button" id="discount_code_button" name="discount_code_button" value="Apply" />
					<p id="discount_code_message" class="pmpro_message" style="display: none;"></p>
				</div>
				<?php } ?>
				
			</td>			
开发者ID:Jtgadbois,项目名称:Pedadida,代码行数:31,代码来源:checkout.php

示例11: pmpro_https_filter

<div class="wrap pmpro_admin">	
	<div class="pmpro_banner">		
		<a class="pmpro_logo" title="Paid Memberships Pro - Membership Plugin for WordPress" target="_blank" href="<?php echo pmpro_https_filter("http://www.paidmembershipspro.com")?>"><img src="<?php echo PMPRO_URL?>/images/PaidMembershipsPro.gif" width="350" height="45" border="0" alt="Paid Memberships Pro(c) - All Rights Reserved" /></a>
		<div class="pmpro_tagline">Membership Plugin for WordPress</div>
		
		<div class="pmpro_meta"><a href="<?php echo pmpro_https_filter("http://www.paidmembershipspro.com")?>">Plugin Support</a> | <a href="http://www.paidmembershipspro.com/forums/">User Forum</a> | <strong>Version <?php echo PMPRO_VERSION?></strong></div>
	</div>
	<br style="clear:both;" />
	
	<?php
		//include(pmpro_https_filter("http://www.paidmembershipspro.com/notifications/?v=" . PMPRO_VERSION));
	?>
	<div id="pmpro_notifications">
	</div>
	<script>
		jQuery.get('<?php echo pmpro_https_filter("http://www.paidmembershipspro.com/notifications/?v=" . PMPRO_VERSION)?>', function(data) {
		  jQuery('#pmpro_notifications').html(data);		 
		});
	</script>
	
	<?php if($edit) { ?>
		
		<h2>
			<?php
				if($edit > 0)
					echo "Edit Discount Code";
				else
					echo "Add New Discount Code";
			?>
		</h2>
		
开发者ID:Jtgadbois,项目名称:Pedadida,代码行数:30,代码来源:discountcodes.php


注:本文中的pmpro_https_filter函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。