// Giriş URL’sini değiştir function custom_login_url() { return home_url(‘/panel/’); // Buraya yeni giriş URL’nizi yazın } add_filter(‘login_url’, ‘custom_login_url’); // WordPress login sayfasını yeni URL’ye yönlendirme function custom_login_redirect() { if (strpos($_SERVER[‘REQUEST_URI’], ‘wp-login.php’) !== false) { wp_redirect(home_url(‘/panel/’)); // Buraya yeni giriş URL’nizi…Continue reading
function remove_my_action() { remove_action(‘wp_head’, ‘et_add_viewport_meta’); } function dt_et_add_viewport_meta(){ echo ‘‘; } add_action( ‘init’, ‘remove_my_action’); add_action( ‘wp_head’, ‘dt_et_add_viewport_meta’ );Continue reading
remove_action( ‘after_password_reset’, ‘wp_password_change_notification’ );Continue reading
add_filter( ‘xmlrpc_enabled’, ‘__return_false’ );Continue reading
/** * Change the label of the “City” field into a “Town/City” field. * * @param array[] $fields * @return array[] */ add_action( ‘init’, function ( $fields ) { $fields = charitable()->donation_fields(); $field = $fields->get_field( ‘city’ ); $field->label = ‘Town/City’;…Continue reading
/** * Allow SVG uploads for administrator users. * * @param array $upload_mimes Allowed mime types. * * @return mixed */ add_filter( ‘upload_mimes’, function ( $upload_mimes ) { // By default, only administrator users are allowed to add SVGs. //…Continue reading
/** * Gravity Wiz // Gravity Forms // Populate Date * * Provides the ability to populate a Date field with a modified date based on the current date or a user-submitted date. * * @version 2.8 * @author David…Continue reading